Caffeinated\Modules\Repositories\LocalRepository::getCache PHP Метод

getCache() приватный Метод

Get the contents of the cache file.
private getCache ( ) : Collection
Результат Collection
    private function getCache()
    {
        $cachePath = $this->getCachePath();
        if (!$this->files->exists($cachePath)) {
            $this->createCache();
            $this->optimize();
        }
        return collect(json_decode($this->files->get($cachePath), true));
    }