Пример #1
0
 /**
  * Get the path to the configuration cache file.
  *
  * @return string
  */
 public function getCachedConfigPath()
 {
     $path = $this->optimizer->getCachedConfigPath();
     return $path ?: parent::getCachedConfigPath();
 }
Пример #2
0
 /**
  * Get the path to the configuration cache file.
  *
  * @return string 
  * @static 
  */
 public static function getCachedConfigPath()
 {
     return \Illuminate\Foundation\Application::getCachedConfigPath();
 }
Пример #3
0
 /**
  * Get the path to the configuration cache file.
  *
  * @return string
  */
 public function getCachedConfigPath()
 {
     if ($this->isRunningOnGae() && env('GAE_CACHE_CONFIG_FILE') === true) {
         return 'cachefs://bootstrap/cache/config.php';
     }
     return parent::getCachedConfigPath();
 }