PHP Class BeatSwitch\Lock\Integrations\Laravel\LockServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Datei anzeigen Open project: beatswitch/lock-laravel

Public Methods

Method Description
boot ( ) Bootstrap the service provider
provides ( ) : string[] Get the services provided by the provider
register ( ) : void Register the service provider

Protected Methods

Method Description
bootstrapAuthedUserLock ( ) This will bootstrap the lock instance for the authed user
bootstrapManager ( ) This method will bootstrap the lock manager instance
bootstrapPermissions ( ) Here we should execute the permissions callback from the config file so all the roles and aliases get registered and if we're using the array driver, all of our permissions get set beforehand.
getDriver ( ) : BeatSwitch\Lock\Drivers\Driver Returns the configured driver

Method Details

boot() public method

Bootstrap the service provider
public boot ( )

bootstrapAuthedUserLock() protected method

This will bootstrap the lock instance for the authed user
protected bootstrapAuthedUserLock ( )

bootstrapManager() protected method

This method will bootstrap the lock manager instance
protected bootstrapManager ( )

bootstrapPermissions() protected method

Here we should execute the permissions callback from the config file so all the roles and aliases get registered and if we're using the array driver, all of our permissions get set beforehand.
protected bootstrapPermissions ( )

getDriver() protected method

Returns the configured driver
protected getDriver ( ) : BeatSwitch\Lock\Drivers\Driver
return BeatSwitch\Lock\Drivers\Driver

provides() public method

Get the services provided by the provider
public provides ( ) : string[]
return string[]

register() public method

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