EngineResolver
class EngineResolver (View source)
Properties
protected array | $resolvers | The array of engine resolvers. | |
protected array | $resolved | The resolved engine instances. |
Methods
void | register(string $engine, Closure $resolver) Register a new engine resolver. | |
Engine | resolve(string $engine) Resolve an engine instance by name. |
Details
void register(string $engine, Closure $resolver)
Register a new engine resolver.
The engine string typically corresponds to a file extension.
Engine resolve(string $engine)
Resolve an engine instance by name.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/View/Engines/EngineResolver.html