class
Illuminate
/
View
/
Compilers
/
Compiler
You are viewing an older version of the documentation. For the latest, please visit master documentation.
abstract
Compiler
Properties
protected
$cachePath string
Get the cache path for the compiled views.
Default: null
Methods
public
__construct ( Filesystem $files , $cachePath ) : void
Create a new compiler instance.
Parameters
- $files Filesystem
- $cachePath string
public
getCompiledPath ( $path ) : string
Get the path to the compiled version of a view.
Parameters
- $path string
public
isExpired ( $path ) : bool
Determine if the view at the given path is expired.
Parameters
- $path string
protected
ensureCompiledDirectoryExists ( $path ) : void
Create the compiled file directory if necessary.
Parameters
- $path string