PHP Class Cartalyst\Sentinel\Laravel\SentinelServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Show file Open project: cartalyst/sentinel Class Usage Examples

Public Methods

Method Description
boot ( ) {@inheritDoc}
provides ( ) {@inheritDoc}
register ( ) {@inheritDoc}

Protected Methods

Method Description
configHitsLottery ( array $lottery ) : boolean Determine if the configuration odds hit the lottery.
garbageCollect ( ) : void Garbage collect activations and reminders.
prepareResources ( ) : void Prepare the package resources.
registerActivationCheckpoint ( ) : void Registers the activation checkpoint.
registerActivations ( ) : void Registers the activations.
registerCheckpoints ( ) : void Registers the checkpoints.
registerCookie ( ) : void Registers the cookie.
registerHasher ( ) : void Registers the hahser.
registerPersistences ( ) : void Registers the persistences.
registerReminders ( ) : void Registers the reminders.
registerRoles ( ) : void Registers the roles.
registerSentinel ( ) : void Registers sentinel.
registerSession ( ) : void Registers the session.
registerThrottleCheckpoint ( ) : void Registers the throttle checkpoint.
registerThrottling ( ) : void Registers the throttle.
registerUsers ( ) : void Registers the users.
setOverrides ( ) : void Performs the necessary overrides.
setUserResolver ( ) : void Sets the user resolver on the request class.
sweep ( mixed $repository, array $lottery ) : void Sweep expired codes.

Method Details

boot() public method

{@inheritDoc}
public boot ( )

configHitsLottery() protected method

Determine if the configuration odds hit the lottery.
protected configHitsLottery ( array $lottery ) : boolean
$lottery array
return boolean

garbageCollect() protected method

Garbage collect activations and reminders.
protected garbageCollect ( ) : void
return void

prepareResources() protected method

Prepare the package resources.
protected prepareResources ( ) : void
return void

provides() public method

{@inheritDoc}
public provides ( )

register() public method

{@inheritDoc}
public register ( )

registerActivationCheckpoint() protected method

Registers the activation checkpoint.
protected registerActivationCheckpoint ( ) : void
return void

registerActivations() protected method

Registers the activations.
protected registerActivations ( ) : void
return void

registerCheckpoints() protected method

Registers the checkpoints.
protected registerCheckpoints ( ) : void
return void

registerCookie() protected method

Registers the cookie.
protected registerCookie ( ) : void
return void

registerHasher() protected method

Registers the hahser.
protected registerHasher ( ) : void
return void

registerPersistences() protected method

Registers the persistences.
protected registerPersistences ( ) : void
return void

registerReminders() protected method

Registers the reminders.
protected registerReminders ( ) : void
return void

registerRoles() protected method

Registers the roles.
protected registerRoles ( ) : void
return void

registerSentinel() protected method

Registers sentinel.
protected registerSentinel ( ) : void
return void

registerSession() protected method

Registers the session.
protected registerSession ( ) : void
return void

registerThrottleCheckpoint() protected method

Registers the throttle checkpoint.
protected registerThrottleCheckpoint ( ) : void
return void

registerThrottling() protected method

Registers the throttle.
protected registerThrottling ( ) : void
return void

registerUsers() protected method

Registers the users.
protected registerUsers ( ) : void
return void

setOverrides() protected method

Performs the necessary overrides.
protected setOverrides ( ) : void
return void

setUserResolver() protected method

Sets the user resolver on the request class.
protected setUserResolver ( ) : void
return void

sweep() protected method

Sweep expired codes.
protected sweep ( mixed $repository, array $lottery ) : void
$repository mixed
$lottery array
return void