Fork me on Github

Class Finite\Event\ TransitionEvent

The event object which is thrown on transitions actions


Inherits from: StateMachineEvent

Methods

__construct( TransitionInterface $transition, ListenableStateMachine $stateMachine)

ListenableStateMachine getStateMachine()

from StateMachineEvent
TransitionInterface getTransition()

Details

public __construct( TransitionInterface $transition, ListenableStateMachine $stateMachine)

Parameters
TransitionInterface $transition
ListenableStateMachine $stateMachine

public ListenableStateMachine getStateMachine()

Return Value
ListenableStateMachine

public TransitionInterface getTransition()

Return Value
TransitionInterface