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

This package is auto-updated.

Last update: 2024-10-20 13:00:40 UTC


README

Build Status

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.