示例#1
0
 /**
  * {@inheritdoc}
  */
 public function addTransition(TransitionInterface $transition)
 {
     $this->transitionMap[$transition->getFromState()->getStateId()][$transition->getEvent()->getEventId()] = $transition;
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function getToState() : StateInterface
 {
     return $this->transition->getToState();
 }