Laravel Cache. Increment or Put if value does not exist
<p>Is is possible to replace this line of code with something out of the box. </p>

<pre><code>Cache::has('test') ? \Cache::increment('test') : \Cache::put('test', 1, 60);
</code></pre>

<p>So basically, I need to check if <em>test</em> exists in the cache. If yes then increment the value, if not create cache record and set value 1.</p>