PHP Class Silber\Bouncer\BouncerServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Show file Open project: JosephSilber/bouncer

Public Methods

Method Description
boot ( ) : void Bootstrap any application services.
register ( ) : void Register any application services.

Protected Methods

Method Description
getTablePrefix ( ) : string | null Get the configured table prefix.
publishMigrations ( ) : void Publish the package's migrations.
registerAtGate ( ) : void Register the bouncer's clipboard at the gate.
registerBouncer ( ) : void Register the bouncer as a singleton.
registerClipboard ( ) : void Register the cache clipboard as a singleton.
registerCommands ( ) : void Register Bouncer's commands with artisan.
registerMorphs ( ) : void Register Bouncer's models in the relation morph map.
registerSeeder ( ) : void Register the seeder as a singleton.
setTablePrefix ( ) : void Set the table prefix for Bouncer's tables.
setUserModel ( ) : void Set the classname of the user model to be used by Bouncer.

Method Details

boot() public method

Bootstrap any application services.
public boot ( ) : void
return void

getTablePrefix() protected method

Get the configured table prefix.
protected getTablePrefix ( ) : string | null
return string | null

publishMigrations() protected method

Publish the package's migrations.
protected publishMigrations ( ) : void
return void

register() public method

Register any application services.
public register ( ) : void
return void

registerAtGate() protected method

Register the bouncer's clipboard at the gate.
protected registerAtGate ( ) : void
return void

registerBouncer() protected method

Register the bouncer as a singleton.
protected registerBouncer ( ) : void
return void

registerClipboard() protected method

Register the cache clipboard as a singleton.
protected registerClipboard ( ) : void
return void

registerCommands() protected method

Register Bouncer's commands with artisan.
protected registerCommands ( ) : void
return void

registerMorphs() protected method

Register Bouncer's models in the relation morph map.
protected registerMorphs ( ) : void
return void

registerSeeder() protected method

Register the seeder as a singleton.
protected registerSeeder ( ) : void
return void

setTablePrefix() protected method

Set the table prefix for Bouncer's tables.
protected setTablePrefix ( ) : void
return void

setUserModel() protected method

Set the classname of the user model to be used by Bouncer.
protected setUserModel ( ) : void
return void