Ability to increment and decrement in database cache storage

Fulfilling https://github.com/laravel/framework/issues/4409
Could this function be broken up into smaller parts?