aesonus / storage
This package is abandoned and no longer maintained.
No replacement package was suggested.
Storage Library
v3.4
2018-07-22 01:05 UTC
Requires
- php: ~5.6 || ~7.1
Requires (Dev)
- aesonus/test-lib: ^1.0 || ^2.0
README
Storage
Defines contracts for storing information.
interface StorageInterface extends \Countable
Contract Methods
Get
Must return a value from storage or $default:
public function get($offset, $default = NULL);
Runtime Storage
The RuntimeStorage class is a storage class that uses a property to store values in an array. This can be used as a cache for database operations as well.