class Compiler (View source)

Methods

void
__construct( Filesystem $files, string $cachePath)

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.

Details

at line line 30
void __construct( Filesystem $files, string $cachePath)

Create a new compiler instance.

Parameters

Filesystem $files
string $cachePath

Return Value

void

at line line 42
string getCompiledPath( string $path)

Get the path to the compiled version of a view.

Parameters

string $path

Return Value

string

at line line 53
bool isExpired( string $path)

Determine if the view at the given path is expired.

Parameters

string $path

Return Value

bool