PHP Класс Cartalyst\Sentinel\Checkpoints\ThrottlingException

Наследование: extends RuntimeExceptio\RuntimeException
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$delay string The delay, in seconds.
$type string The throttling type which caused the exception.

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

Метод Описание
getDelay ( ) : integer Returns the delay.
getFree ( ) : Carbon\Carbon Returns a Carbon object representing the time which the throttle is lifted.
getType ( ) : string Returns the type.
setDelay ( integer $delay ) : void Sets the delay.
setType ( string $type ) : void Sets the type.

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

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

Returns the delay.
public getDelay ( ) : integer
Результат integer

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

Returns a Carbon object representing the time which the throttle is lifted.
public getFree ( ) : Carbon\Carbon
Результат Carbon\Carbon

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

Returns the type.
public getType ( ) : string
Результат string

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

Sets the delay.
public setDelay ( integer $delay ) : void
$delay integer
Результат void

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

Sets the type.
public setType ( string $type ) : void
$type string
Результат void

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

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

The delay, in seconds.
protected string $delay
Результат string

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

The throttling type which caused the exception.
protected string $type
Результат string