private function createCache()
    {
        $cachePath = $this->getCachePath();
        $content   = json_encode([], JSON_PRETTY_PRINT);

        $this->files->put($cachePath, $content);

        return collect(json_decode($content, true));
    }
private function createCache()
    {
        $cachePath = $this->getCachePath();
        $content   = json_encode([], JSON_PRETTY_PRINT);

        $this->files->put($cachePath, $content);

        return collect(json_decode($content, true));
    }
private function createCache ( ) { $ cachePath = $ this -> getCachePath ( ) ; $ content = json_encode ( [ ] , JSON_PRETTY_PRINT ) ; $ this -> files -> put ( $ cachePath , $ content ) ; return collect ( json_decode ( $ content , true ) ) ; }
Create an empty instance of the cache file.

@return \Illuminate\Support\Collection
Create an empty instance of the cache file .