PHP Класс BeatSwitch\Lock\Integrations\Laravel\LockServiceProvider

Наследование: extends Illuminate\Support\ServiceProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
boot ( ) Bootstrap the service provider
provides ( ) : string[] Get the services provided by the provider
register ( ) : void Register the service provider

Защищенные методы

Метод Описание
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

Описание методов

boot() публичный Метод

Bootstrap the service provider
public boot ( )

bootstrapAuthedUserLock() защищенный Метод

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

bootstrapManager() защищенный Метод

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

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.
protected bootstrapPermissions ( )

getDriver() защищенный Метод

Returns the configured driver
protected getDriver ( ) : BeatSwitch\Lock\Drivers\Driver
Результат BeatSwitch\Lock\Drivers\Driver

provides() публичный Метод

Get the services provided by the provider
public provides ( ) : string[]
Результат string[]

register() публичный Метод

Register the service provider
public register ( ) : void
Результат void