private function getCachePath()
    {
        if (!$this->files->isDirectory(storage_path("app/modules"))) {
            $this->files->makeDirectory(storage_path("app/modules"));
        }

        $location = str_slug($this->location);

        return storage_path("app/modules/$location.json");
    }
private function getCachePath()
    {
        if (!$this->files->isDirectory(storage_path("app/modules"))) {
            $this->files->makeDirectory(storage_path("app/modules"));
        }

        $location = str_slug($this->location);

        return storage_path("app/modules/$location.json");
    }
private function getCachePath ( ) { if ( ! $ this -> files -> isDirectory ( storage_path ( "app/modules" ) ) ) { $ this -> files -> makeDirectory ( storage_path ( "app/modules" ) ) ; } $ location = str_slug ( $ this -> location ) ; return storage_path ( "app/modules/$location.json" ) ; }
Get the path to the cache file.

@return string
Get the path to the cache file .