W3cubDocs

/Laravel 8

CompilerInterface

interface CompilerInterface (View source)

Methods

string getCompiledPath(string $path)

Get the path to the compiled version of a view.

bool isExpired(string $path)

Determine if the given view is expired.

void compile(string $path)

Compile the view at the given path.

Details

string getCompiledPath(string $path)

Get the path to the compiled version of a view.

Parameters

string $path

Return Value

string

bool isExpired(string $path)

Determine if the given view is expired.

Parameters

string $path

Return Value

bool

void compile(string $path)

Compile the view at the given path.

Parameters

string $path

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/View/Compilers/CompilerInterface.html