ViewServiceProvider
class ViewServiceProvider extends ServiceProvider (View source)
Methods
void
register()
Register the service provider.
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
static
array
compiles()
Get a list of files that should be compiled for the package.
from ServiceProvider
mixed
__call(
string $method,
array $parameters)
Dynamically handle missing method calls.
from ServiceProvider
void
registerEngineResolver()
Register the engine resolver instance.
void
void
void
registerViewFinder()
Register the view finder implementation.
void
registerFactory()
Register the view environment.
Details
in ServiceProvider at line line 43
void
__construct(
Application $app)
Create a new service provider instance.
in ServiceProvider at line line 130
static
array
pathsToPublish(
string $provider = null,
string $group = null)
Get the paths to publish.
in ServiceProvider at line line 167
void
commands(
array|mixed $commands)
Register the package's custom Artisan commands.
in ServiceProvider at line line 196
array
when()
Get the events that trigger this service provider to register.
in ServiceProvider at line line 216
static
array
compiles()
Get a list of files that should be compiled for the package.
in ServiceProvider at line line 228
mixed
__call(
string $method,
array $parameters)
Dynamically handle missing method calls.
at line line 54
void
registerPhpEngine(
EngineResolver $resolver)
Register the PHP engine implementation.
at line line 67
void
registerBladeEngine(
EngineResolver $resolver)
Register the Blade engine implementation.