Exemple #1
0
 /**
  * Get the path to the routes cache file.
  *
  * @return string
  */
 public function getCachedRoutesPath()
 {
     $path = $this->optimizer->getCachedRoutesPath();
     return $path ?: parent::getCachedRoutesPath();
 }
Exemple #2
0
 /**
  * Get the path to the routes cache file.
  *
  * @return string 
  * @static 
  */
 public static function getCachedRoutesPath()
 {
     return \Illuminate\Foundation\Application::getCachedRoutesPath();
 }
 /**
  * Get the path to the routes cache file.
  *
  * @return string
  */
 public function getCachedRoutesPath()
 {
     if ($this->isRunningOnGae() && env('GAE_CACHE_ROUTES_FILE') === true) {
         return 'cachefs://bootstrap/cache/routes.php';
     }
     return parent::getCachedRoutesPath();
 }