PHP Class Laratrust\LaratrustServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Exibir arquivo Open project: santigarcor/laratrust

Protected Properties

Property Type Description
$commands array The commands to be registered.
$defer boolean Indicates if loading of the provider is deferred.

Public Methods

Method Description
boot ( ) : void Bootstrap the application events.
provides ( ) : array Get the services provided.
register ( ) : void Register the service provider.

Protected Methods

Method Description
registerAddLaratrustUserTraitUseCommand ( )
registerCommands ( ) : void Register the given commands.
registerMakeGroupCommand ( )
registerMakePermissionCommand ( )
registerMakeRoleCommand ( )
registerMakeSeederCommand ( )
registerMigrationCommand ( )
registerSetupCommand ( )

Private Methods

Method Description
mergeConfig ( ) : void Merges user's and laratrust's configs.
registerBladeDirectives ( ) : void Register the blade directives
registerLaratrust ( ) : void Register the application bindings.

Method Details

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void

provides() public method

Get the services provided.
public provides ( ) : array
return array

register() public method

Register the service provider.
public register ( ) : void
return void

registerAddLaratrustUserTraitUseCommand() protected method

registerCommands() protected method

Register the given commands.
protected registerCommands ( ) : void
return void

registerMakeGroupCommand() protected method

protected registerMakeGroupCommand ( )

registerMakePermissionCommand() protected method

registerMakeRoleCommand() protected method

protected registerMakeRoleCommand ( )

registerMakeSeederCommand() protected method

registerMigrationCommand() protected method

protected registerMigrationCommand ( )

registerSetupCommand() protected method

protected registerSetupCommand ( )

Property Details

$commands protected_oe property

The commands to be registered.
protected array $commands
return array

$defer protected_oe property

Indicates if loading of the provider is deferred.
protected bool $defer
return boolean