ServiceProvider

Known subclasses

LINE\Laravel\LINEBotServiceProvider
Abstract
Open source code
Methods Summary
public
# __construct( \Illuminate\Contracts\Foundation\Application $app )
Create a new service provider instance.
protected
# mergeConfigFrom( string $path , string $key )
Merge the given configuration with the existing configuration.
protected
# loadRoutesFrom( string $path )
Load the given routes file if routes are not already cached.
protected
# loadViewsFrom( string|array $path , string $namespace )
Register a view file namespace.
protected
# loadTranslationsFrom( string $path , string $namespace )
Register a translation file namespace.
protected
# loadJsonTranslationsFrom( string $path )
Register a JSON translation file path.
protected
# loadMigrationsFrom( array|string $paths )
Register a database migration path.
protected
# publishes( array $paths , string $group = NULL )
Register paths to be published by the publish command.
protected
# ensurePublishArrayInitialized( string $class )
Ensure the publish array for the service provider is initialized.
protected
# addPublishGroup( string $group , array $paths )
Add a publish group / tag to the service provider.
public static
# pathsToPublish( string $provider = NULL, string $group = NULL )
Get the paths to publish.
protected static
# pathsForProviderOrGroup( string|null $provider , string|null $group )
Get the paths for the provider or group (or both).
protected static
# pathsForProviderAndGroup( string $provider , string $group )
Get the paths for the provider and group.
public static
# publishableProviders( )
Get the service providers available for publishing.
public static
# publishableGroups( )
Get the groups available for publishing.
public
# commands( array|mixed $commands )
Register the package's custom Artisan commands.
public
# provides( )
Get the services provided by the provider.
public
# when( )
Get the events that trigger this service provider to register.
public
# isDeferred( )
Determine if the provider is deferred.
Properties Summary
protected Illuminate\Contracts\Foundation\Application $app
The application instance.
# NULL
protected bool $defer
Indicates if loading of the provider is deferred.
# false
public static array $publishes
The paths that should be published.
# array ( )
public static array $publishGroups
The paths that should be published by group.
# array ( )