public function isExpired($path)
    {
        if (!$this->cachePath || parent::isExpired($path)) {
            return true;
        }

        return is_subclass_of('\Pug\Pug', '\Phug\Renderer') && $this->hasExpiredImport($path);
    }
public function isExpired($path)
    {
        if (!$this->cachePath || parent::isExpired($path)) {
            return true;
        }

        return is_subclass_of('\Pug\Pug', '\Phug\Renderer') && $this->hasExpiredImport($path);
    }
public function isExpired ( $ path ) { if ( ! $ this -> cachePath || parent :: isExpired ( $ path ) ) { return true ; } return is_subclass_of ( '\Pug\Pug' , '\Phug\Renderer' ) && $ this -> hasExpiredImport ( $ path ) ; }
Determine if the view at the given path is expired.

@param string $path

@return bool
Determine if the view at the given path is expired .