Beispiel #1
0
 /**
  * Determine if the view at the given path is expired.
  *
  * @param  string  $path
  * @return bool
  */
 public function isExpired($path)
 {
     if ($this->hasChanged($path)) {
         return true;
     }
     return parent::isExpired($path);
 }
 public function isExpired($path)
 {
     return parent::isExpired($path) || config('app.debug');
 }
 /**
  * Make sure that developing locally is fun.
  *
  * @param string $path
  * @return bool
  */
 public function isExpired($path)
 {
     if ($this->developmentEnvironment) {
         return true;
     }
     return parent::isExpired($path);
 }