Exemplo n.º 1
0
 /**
  * Get the path to the routes cache file.
  *
  * @return string
  */
 public function getCachedRoutesPath()
 {
     $path = $this->optimizer->getCachedRoutesPath();
     return $path ?: parent::getCachedRoutesPath();
 }
Exemplo n.º 2
0
 /**
  * Get the path to the routes cache file.
  *
  * @return string 
  * @static 
  */
 public static function getCachedRoutesPath()
 {
     return \Illuminate\Foundation\Application::getCachedRoutesPath();
 }
Exemplo n.º 3
0
 /**
  * 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();
 }