PHP 클래스 BeatSwitch\Lock\Integrations\Laravel\LockServiceProvider

상속: extends Illuminate\Support\ServiceProvider
파일 보기 프로젝트 열기: beatswitch/lock-laravel

공개 메소드들

메소드 설명
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