PHP 클래스 Cartalyst\Sentinel\Checkpoints\ThrottlingException

상속: extends RuntimeExceptio\RuntimeException
파일 보기 프로젝트 열기: cartalyst/sentinel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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