izzum\statemachine\StateMachine::doEnterState PHP Method

doEnterState() private method

the enter state action method
private doEnterState ( Transition $transition )
$transition Transition
    private function doEnterState(Transition $transition)
    {
        // an event handler that is possibly defined on the domain model: onEnterState
        $this->callEventHandler($this->getContext()->getEntity(), 'onEnterState', $this->getContext()->getIdentifier(), $transition);
        // executes the command and callable associated with the state object
        $transition->getStateTo()->entryAction($this->getContext());
        // hook for subclasses to implement
        $this->_onEnterState($transition);
    }