Compiler
abstract class Compiler (View source)
Properties
protected Filesystem | $files | The Filesystem instance. | |
protected string | $cachePath | Get the cache path for the compiled views. |
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
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/View/Compilers/Compiler.html