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

defineEloquentMorphMaps()

No description

registerProviders()

No description

defineQueryMacro()

No description

registerSchedule()

No description

registerPermissions()

No description

registerSystemSettings()

No description

registerPagicParser()

No description

Details

at line 82
void boot()

Bootstrap the module events.

Return Value

void

at line 46
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 101
protected includeHelpers()

No description

at line 108
protected updateTimezone()

No description

at line 116
protected registerSingletons()

Register singletons

at line 156
protected registerConsole()

Register command line specifics

at line 195
protected registerErrorHandler()

No description

at line 207
protected extendValidator()

Extends the validator with custom rules

at line 224
protected registerMailer()

No description

at line 259
protected registerPaginator()

No description

at line 280
protected addTranslationDriver()

No description

at line 287
protected setConfiguration()

No description

at line 320
protected defineEloquentMorphMaps()

No description

at line 337
protected registerProviders()

No description

at line 346
protected defineQueryMacro()

No description

at line 393
protected registerSchedule()

No description

at line 406
protected registerPermissions()

No description

at line 441
protected registerSystemSettings()

No description

at line 489
protected registerPagicParser()

No description