PHP Class BeatSwitch\Lock\Integrations\Laravel\LockServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Afficher le fichier Open project: beatswitch/lock-laravel

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

Bootstrap the service provider
public boot ( )

bootstrapAuthedUserLock() protected méthode

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

bootstrapManager() protected méthode

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

bootstrapPermissions() protected méthode

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 méthode

Returns the configured driver
protected getDriver ( ) : BeatSwitch\Lock\Drivers\Driver
Résultat BeatSwitch\Lock\Drivers\Driver

provides() public méthode

Get the services provided by the provider
public provides ( ) : string[]
Résultat string[]

register() public méthode

Register the service provider
public register ( ) : void
Résultat void