lib/Accessible/Reader/Reader.php
public static function saveToCache($id, $value)
    {
        $arrayCache = Configuration::getArrayCache();
        $cacheDriver = Configuration::getCacheDriver();

        $arrayCache->save($id, $value);
        if ($cacheDriver !== null) {
            $cacheDriver->save($id, $value);
        }
    }
public static function saveToCache($id, $value)
    {
        $arrayCache = Configuration::getArrayCache();
        $cacheDriver = Configuration::getCacheDriver();

        $arrayCache->save($id, $value);
        if ($cacheDriver !== null) {
            $cacheDriver->save($id, $value);
        }
    }
public static function saveToCache ( $ id , $ value ) { $ arrayCache = Configuration :: getArrayCache ( ) ; $ cacheDriver = Configuration :: getCacheDriver ( ) ; $ arrayCache -> save ( $ id , $ value ) ; if ( $ cacheDriver !== null ) { $ cacheDriver -> save ( $ id , $ value ) ; } }
Save a value to the cache.

@param  string $id
@param  mixed $value
Save a value to the cache .