Ability to increment and decrement in database cache storage

Fulfilling https://github.com/laravel/framework/issues/4409
I see, you meant to multiply :D, I thought you were formatting and missed
one opening or closing asterisk there.


On Mon, Jul 28, 2014 at 4:01 PM, Graham Campbell <notifications@github.com>
wrote:

> In src/Illuminate/Cache/DatabaseStore.php:
>
> >  	 */
> >  	public function decrement($key, $value = 1)
> >  	{
> > -		throw new \LogicException("Decrement operations not supported by this driver.");
> > +		$this->update($key, 0 - $value);
>
> See e965582
> <https://github.com/laravel/framework/commit/e965582c77e626de66bb15d837036191e707bdf1>.
> Taylor prefers that styling.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/laravel/framework/pull/5246/files#r15455675>.
>