aesonus / storage
Storage Library
Installs: 430
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/aesonus/storage
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.