src/InMemoryStore.php
public function get($type, $key)
    {
        if (array_key_exists($key, self::$store)) {
            //TODO: implement expiration check
            // implement data type check?
            return self::$store[$key]['value'];
        }
        return null;
    }
public function get($type, $key)
    {
        if (array_key_exists($key, self::$store)) {
            //TODO: implement expiration check
            // implement data type check?
            return self::$store[$key]['value'];
        }
        return null;
    }
public function get ( $ type , $ key ) { if ( array_key_exists ( $ key , self :: $ store ) ) { //TODO: implement expiration check // implement data type check? return self :: $ store [ $ key ] [ 'value' ] ; } return null ; }
Retrieve a value from the data store.

@param string $type The data type.
@param string $key The key.

@return mixed|null The value.
Retrieve a value from the data store .