Interface for cache engines that defines methods outside of the PSR16 interface that are used by
Internally Cache uses this interface when calling engine methods.
add( string $key , mixed $value )
Write data for key into a cache engine if it doesn't exist already.
True if the data was successfully cached, false on failure. Or if the key existed already.
clearGroup( string $group )
Clear all values belonging to the named group.
Each implementation needs to decide whether actually delete the keys or just augment a group generation value to achieve the same result.
decrement( string $key , integer $offset = 1 )
Decrement a number under the key and return decremented value
increment( string $key , integer $offset = 1 )
Increment a number under the key and return incremented value
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.