public function storeCache(array $cache)
    {
        if ($this->store === null) {
            register_shutdown_function([$this, 'saveCacheFile']);
        }

        $this->store = $cache;
    }
public function storeCache(array $cache)
    {
        if ($this->store === null) {
            register_shutdown_function([$this, 'saveCacheFile']);
        }

        $this->store = $cache;
    }
public function storeCache ( array $ cache ) { if ( $ this -> store === null ) { register_shutdown_function ( [ $ this , 'saveCacheFile' ] ) ; } $ this -> store = $ cache ; }
Stores the cache to be saved at the end of the request.
@param string[] $cache Class location cache
Stores the cache to be saved at the end of the request .