class ServiceProvider extends AppServiceProvider

Properties

protected Application $app

The application instance.

from  AppServiceProvider
protected bool $defer from  AppServiceProvider

Methods

void
boot()

Bootstrap the module events.

void
register()

Register the service provider.

getModule($args)

No description

void
registerConsoleCommand(string $key, string $class)

Registers a new console (artisan) command

array
provides()

Get the services provided by the provider.

includeHelpers()

No description

updateTimezone()

No description

registerSingletons()

Register singletons

registerConsole()

Register command line specifics

registerErrorHandler()

No description

extendValidator()

Extends the validator with custom rules

registerMailer()

No description

registerPaginator()

No description

addTranslationDriver()

No description

setConfiguration()

No description

registerAssets()

No description

defineEloquentMorphMaps()

No description

registerProviders()

No description

defineQueryMacro()

No description

registerSchedule()

No description

registerPermissions()

No description

registerSystemSettings()

No description

registerPagicParser()

No description

Details

at line 86
void boot()

Bootstrap the module events.

Return Value

void

at line 49
void register()

Register the service provider.

Return Value

void

in AppServiceProvider at line 50
getModule($args)

No description

Parameters

$args

in AppServiceProvider at line 65
void registerConsoleCommand(string $key, string $class)

Registers a new console (artisan) command

Parameters

string $key

The command name

string $class

The command class

Return Value

void

in AppServiceProvider at line 79
array provides()

Get the services provided by the provider.

Return Value

array

at line 105
protected includeHelpers()

No description

at line 112
protected updateTimezone()

No description

at line 120
protected registerSingletons()

Register singletons

at line 166
protected registerConsole()

Register command line specifics

at line 205
protected registerErrorHandler()

No description

at line 217
protected extendValidator()

Extends the validator with custom rules

at line 240
protected registerMailer()

No description

at line 275
protected registerPaginator()

No description

at line 296
protected addTranslationDriver()

No description

at line 303
protected setConfiguration()

No description

at line 336
protected registerAssets()

No description

at line 360
protected defineEloquentMorphMaps()

No description

at line 377
protected registerProviders()

No description

at line 386
protected defineQueryMacro()

No description

at line 399
protected registerSchedule()

No description

at line 412
protected registerPermissions()

No description

at line 447
protected registerSystemSettings()

No description

at line 482
protected registerPagicParser()

No description