PHP Class Cartalyst\Sentinel\Checkpoints\ThrottlingException

Inheritance: extends RuntimeExceptio\RuntimeException
Afficher le fichier Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Свойство Type Description
$delay string The delay, in seconds.
$type string The throttling type which caused the exception.

Méthodes publiques

Méthode Description
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.

Method Details

getDelay() public méthode

Returns the delay.
public getDelay ( ) : integer
Résultat integer

getFree() public méthode

Returns a Carbon object representing the time which the throttle is lifted.
public getFree ( ) : Carbon\Carbon
Résultat Carbon\Carbon

getType() public méthode

Returns the type.
public getType ( ) : string
Résultat string

setDelay() public méthode

Sets the delay.
public setDelay ( integer $delay ) : void
$delay integer
Résultat void

setType() public méthode

Sets the type.
public setType ( string $type ) : void
$type string
Résultat void

Property Details

$delay protected_oe property

The delay, in seconds.
protected string $delay
Résultat string

$type protected_oe property

The throttling type which caused the exception.
protected string $type
Résultat string