PHP 클래스 Metabor\Statemachine\Exception\WrongEventForStateException

상속: extends RuntimeException
파일 보기 프로젝트 열기: metabor/statemachine

보호된 프로퍼티들

프로퍼티 타입 설명
$eventName string The event that was triggered.
$stateName string The subject's current state.

공개 메소드들

메소드 설명
__construct ( string $stateName, string $eventName, integer $code, Exception $previous = null )
getEventName ( )
getStateName ( )

메소드 상세

__construct() 공개 메소드

public __construct ( string $stateName, string $eventName, integer $code, Exception $previous = null )
$stateName string
$eventName string
$code integer
$previous Exception

getEventName() 공개 메소드

public getEventName ( )

getStateName() 공개 메소드

public getStateName ( )

프로퍼티 상세

$eventName 보호되어 있는 프로퍼티

The event that was triggered.
protected string $eventName
리턴 string

$stateName 보호되어 있는 프로퍼티

The subject's current state.
protected string $stateName
리턴 string