PHP Class Metabor\Statemachine\Exception\WrongEventForStateException

Inheritance: extends RuntimeException
Afficher le fichier Open project: metabor/statemachine

Protected Properties

Свойство Type Description
$eventName string The event that was triggered.
$stateName string The subject's current state.

Méthodes publiques

Méthode Description
__construct ( string $stateName, string $eventName, integer $code, Exception $previous = null )
getEventName ( )
getStateName ( )

Method Details

__construct() public méthode

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

getEventName() public méthode

public getEventName ( )

getStateName() public méthode

public getStateName ( )

Property Details

$eventName protected_oe property

The event that was triggered.
protected string $eventName
Résultat string

$stateName protected_oe property

The subject's current state.
protected string $stateName
Résultat string