public function attachAction(RequiredActionInterface $action)
    {
        $actions = $this->getRequiredActions();
        $actions[] = $action;
        $this->setOption(self::OPTION_REQUIRED_ACTIONS, $actions);
    }
public function attachAction(RequiredActionInterface $action)
    {
        $actions = $this->getRequiredActions();
        $actions[] = $action;
        $this->setOption(self::OPTION_REQUIRED_ACTIONS, $actions);
    }
public function attachAction ( RequiredActionInterface $ action ) { $ actions = $ this -> getRequiredActions ( ) ; $ actions [ ] = $ action ; $ this -> setOption ( self :: OPTION_REQUIRED_ACTIONS , $ actions ) ; }
Attach new action
@param RequiredActionInterface $action
Attach new action