class ViewServiceProvider extends ServiceProvider (View source)
void | __construct(Application $app) Create a new service provider instance. | from ServiceProvider |
static array | pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. | from ServiceProvider |
void | commands(array|mixed $commands) Register the package's custom Artisan commands. | from ServiceProvider |
array | provides() Get the services provided by the provider. | from ServiceProvider |
array | when() Get the events that trigger this service provider to register. | from ServiceProvider |
bool | isDeferred() Determine if the provider is deferred. | from ServiceProvider |
static array | compiles() deprecated Get a list of files that should be compiled for the package. | from ServiceProvider |
void | register() Register the service provider. | |
void | registerFactory() Register the view environment. | |
void | registerViewFinder() Register the view finder implementation. | |
void | registerEngineResolver() Register the engine resolver instance. | |
void | registerFileEngine(EngineResolver $resolver) Register the file engine implementation. | |
void | registerPhpEngine(EngineResolver $resolver) Register the PHP engine implementation. | |
void | registerBladeEngine(EngineResolver $resolver) Register the Blade engine implementation. |
Create a new service provider instance.
Get the paths to publish.
Register the package's custom Artisan commands.
Get the services provided by the provider.
Get the events that trigger this service provider to register.
Determine if the provider is deferred.
deprecated
Get a list of files that should be compiled for the package.
Register the service provider.
Register the view environment.
Register the view finder implementation.
Register the engine resolver instance.
Register the file engine implementation.
Register the PHP engine implementation.
Register the Blade engine implementation.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/View/ViewServiceProvider.html