aesonus/storage

Storage Library

v3.4 2018-07-22 01:05 UTC

This package is auto-updated.

Last update: 2024-04-20 11:59:05 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.