/** * {@inheritDoc} */ public function getActionInvoker() { return $this->pageFlow->getActionInvoker(); }
/** * Invokes the action with the event context. * * @param \Stagehand\FSM\Event\EventInterface $event * @param mixed $payload * @param \Stagehand\FSM\StateMachine\StateMachine $fsm * @return string */ public function invokeAction(EventInterface $event, $payload, StateMachine $fsm) { return $this->pageFlow->getActionInvoker()->invoke($this->actionID, new EventContext($event, $payload, $this->pageFlow)); }