src/Finite/StateMachine/StateMachine.php
private function dispatchTransitionEvent(TransitionInterface $transition, TransitionEvent $event, $transitionState)
    {
        $this->dispatcher->dispatch($transitionState, $event);
        $this->dispatcher->dispatch($transitionState.'.'.$transition->getName(), $event);
        if (null !== $this->getGraph()) {
            $this->dispatcher->dispatch($transitionState.'.'.$this->getGraph().'.'.$transition->getName(), $event);
        }
    }
private function dispatchTransitionEvent(TransitionInterface $transition, TransitionEvent $event, $transitionState)
    {
        $this->dispatcher->dispatch($transitionState, $event);
        $this->dispatcher->dispatch($transitionState.'.'.$transition->getName(), $event);
        if (null !== $this->getGraph()) {
            $this->dispatcher->dispatch($transitionState.'.'.$this->getGraph().'.'.$transition->getName(), $event);
        }
    }
private function dispatchTransitionEvent ( TransitionInterface $ transition , TransitionEvent $ event , $ transitionState ) { $ this -> dispatcher -> dispatch ( $ transitionState , $ event ) ; $ this -> dispatcher -> dispatch ( $ transitionState . '.' . $ transition -> getName ( ) , $ event ) ; if ( null !== $ this -> getGraph ( ) ) { $ this -> dispatcher -> dispatch ( $ transitionState . '.' . $ this -> getGraph ( ) . '.' . $ transition -> getName ( ) , $ event ) ; } }
Dispatches event for the transition

@param TransitionInterface $transition
@param TransitionEvent $event
@param type $transitionState
Dispatches event for the transition