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