PHP Класс Cartalyst\Sentinel\Native\SentinelBootstrapper

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$config array Configuration.
$dispatcher Illuminate\Events\Dispatcher The event dispatcher.

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

Метод Описание
__construct ( array $config = null ) : void Constructor.
createSentinel ( ) : Sentinel Creates a sentinel instance.

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

Метод Описание
createActivationCheckpoint ( IlluminateActivationRepository $activations ) : ActivationCheckpoint Create an activation checkpoint.
createActivations ( ) : IlluminateActivationRepository Creates an activation repository.
createCheckpoints ( IlluminateActivationRepository $activations, IlluminateThrottleRepository $throttle, string $ipAddress ) : array Create activation and throttling checkpoints.
createCookie ( ) : NativeCookie Creates a cookie.
createHasher ( ) : NativeHasher Creates a hasher.
createPersistence ( ) : IlluminatePersistenceRepository Creates a persistences repository.
createReminders ( IlluminateUserRepository $users ) : IlluminateReminderRepository Create a reminder repository.
createRoles ( ) : IlluminateRoleRepository Creates a role repository.
createSession ( ) : NativeSession Creates a session.
createThrottleCheckpoint ( IlluminateThrottleRepository $throtte, string $ipAddress ) : ThrottleCheckpoint Create a throttle checkpoint.
createThrottling ( ) : IlluminateThrottleRepository Create a throttling repository.
createUsers ( ) : IlluminateUserRepository Creates a user repository.
getEventDispatcher ( ) : Illuminate\Events\Dispatcher Returns the event dispatcher.
getIpAddress ( ) : string Returns the client's ip address.

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

__construct() публичный метод

Constructor.
public __construct ( array $config = null ) : void
$config array
Результат void

createActivationCheckpoint() защищенный метод

Create an activation checkpoint.
protected createActivationCheckpoint ( IlluminateActivationRepository $activations ) : ActivationCheckpoint
$activations Cartalyst\Sentinel\Activations\IlluminateActivationRepository
Результат Cartalyst\Sentinel\Checkpoints\ActivationCheckpoint

createActivations() защищенный метод

Creates an activation repository.
protected createActivations ( ) : IlluminateActivationRepository
Результат Cartalyst\Sentinel\Activations\IlluminateActivationRepository

createCheckpoints() защищенный метод

Create activation and throttling checkpoints.
protected createCheckpoints ( IlluminateActivationRepository $activations, IlluminateThrottleRepository $throttle, string $ipAddress ) : array
$activations Cartalyst\Sentinel\Activations\IlluminateActivationRepository
$throttle Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository
$ipAddress string
Результат array

createCookie() защищенный метод

Creates a cookie.
protected createCookie ( ) : NativeCookie
Результат Cartalyst\Sentinel\Cookies\NativeCookie

createHasher() защищенный метод

Creates a hasher.
protected createHasher ( ) : NativeHasher
Результат Cartalyst\Sentinel\Hashing\NativeHasher

createPersistence() защищенный метод

Creates a persistences repository.
protected createPersistence ( ) : IlluminatePersistenceRepository
Результат Cartalyst\Sentinel\Persistences\IlluminatePersistenceRepository

createReminders() защищенный метод

Create a reminder repository.
protected createReminders ( IlluminateUserRepository $users ) : IlluminateReminderRepository
$users Cartalyst\Sentinel\Users\IlluminateUserRepository
Результат Cartalyst\Sentinel\Reminders\IlluminateReminderRepository

createRoles() защищенный метод

Creates a role repository.
protected createRoles ( ) : IlluminateRoleRepository
Результат Cartalyst\Sentinel\Roles\IlluminateRoleRepository

createSentinel() публичный метод

Creates a sentinel instance.
public createSentinel ( ) : Sentinel
Результат Cartalyst\Sentinel\Sentinel

createSession() защищенный метод

Creates a session.
protected createSession ( ) : NativeSession
Результат Cartalyst\Sentinel\Sessions\NativeSession

createThrottleCheckpoint() защищенный метод

Create a throttle checkpoint.
protected createThrottleCheckpoint ( IlluminateThrottleRepository $throtte, string $ipAddress ) : ThrottleCheckpoint
$throtte Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository
$ipAddress string
Результат Cartalyst\Sentinel\Checkpoints\ThrottleCheckpoint

createThrottling() защищенный метод

Create a throttling repository.
protected createThrottling ( ) : IlluminateThrottleRepository
Результат Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository

createUsers() защищенный метод

Creates a user repository.
protected createUsers ( ) : IlluminateUserRepository
Результат Cartalyst\Sentinel\Users\IlluminateUserRepository

getEventDispatcher() защищенный метод

Returns the event dispatcher.
protected getEventDispatcher ( ) : Illuminate\Events\Dispatcher
Результат Illuminate\Events\Dispatcher

getIpAddress() защищенный метод

Returns the client's ip address.
protected getIpAddress ( ) : string
Результат string

Описание свойств

$config защищенное свойство

Configuration.
protected array $config
Результат array

$dispatcher защищенное свойство

The event dispatcher.
protected Dispatcher,Illuminate\Events $dispatcher
Результат Illuminate\Events\Dispatcher