protected function storeCachedInfo($result)
    {
        $cacheItem = $result;
        $cacheItem['mtime'] = $this->object->mtime;

        $cached = $this->getCachedInfo() ?: [];
        $cached[$this->filePath] = $cacheItem;

        Cache::put($this->dataCacheKey, base64_encode(serialize($cached)), 1440);

        self::$cache[$this->filePath] = $result;
    }
protected function storeCachedInfo($result)
    {
        $cacheItem = $result;
        $cacheItem['mtime'] = $this->object->mtime;

        $cached = $this->getCachedInfo() ?: [];
        $cached[$this->filePath] = $cacheItem;

        Cache::put($this->dataCacheKey, base64_encode(serialize($cached)), 1440);

        self::$cache[$this->filePath] = $result;
    }
protected function storeCachedInfo ( $ result ) { $ cacheItem = $ result ; $ cacheItem [ 'mtime' ] = $ this -> object -> mtime ; $ cached = $ this -> getCachedInfo ( ) ? : [ ] ; $ cached [ $ this -> filePath ] = $ cacheItem ; Cache :: put ( $ this -> dataCacheKey , base64_encode ( serialize ( $ cached ) ) , 1440 ) ; self :: $ cache [ $ this -> filePath ] = $ result ; }
Stores result data inside cache.
@param array $result
@return void
Stores result data inside cache .