Compiler
abstract class Compiler
Methods
__construct(Filesystem $files, string $cachePath, string $basePath = '', bool $shouldCache = true, string $compiledExtension = 'php', bool $shouldCheckTimestamps = true)
Create a new compiler instance.
string
getCompiledPath(string $path)
Get the path to the compiled version of a view.
bool
isExpired(string $path)
Determine if the view at the given path is expired.
void
ensureCompiledDirectoryExists(string $path)
Create the compiled file directory if necessary.
Details
at line 17
__construct(Filesystem $files, string $cachePath, string $basePath = '', bool $shouldCache = true, string $compiledExtension = 'php', bool $shouldCheckTimestamps = true)
Create a new compiler instance.
at line 33
string
getCompiledPath(string $path)
Get the path to the compiled version of a view.
at line 43
bool
isExpired(string $path)
Determine if the view at the given path is expired.
at line 78
protected void
ensureCompiledDirectoryExists(string $path)
Create the compiled file directory if necessary.