bundle/Action/ActionRegistry.php
public function addAction($name, ActionInterface $action, $priority = Priority::DEFAULT_PRIORITY)
    {
        $this->actions[] = array(
            'name' => $name,
            'action' => $action,
            'priority' => $priority,
        );
    }
public function addAction($name, ActionInterface $action, $priority = Priority::DEFAULT_PRIORITY)
    {
        $this->actions[] = array(
            'name' => $name,
            'action' => $action,
            'priority' => $priority,
        );
    }
public function addAction ( $ name , ActionInterface $ action , $ priority = Priority :: DEFAULT_PRIORITY ) { $ this -> actions [ ] = array ( 'name' => $ name , 'action' => $ action , 'priority' => $ priority , ) ; }
Adds action to stack.

@param string $name
@param ActionInterface $action
@param int $priority
Adds action to stack .