Пример #1
0
 /**
  * {@inheritDoc}
  */
 public function getActionInvoker()
 {
     return $this->pageFlow->getActionInvoker();
 }
Пример #2
0
 /**
  * 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));
 }