public function getAction($name)
    {
        if (array_key_exists($name, $this->actions)) {
            return $this->actions[$name];
        }

        throw new KeyNotFoundInSetException($name, array_keys($this->actions), 'actions');
    }
public function getAction($name)
    {
        if (array_key_exists($name, $this->actions)) {
            return $this->actions[$name];
        }

        throw new KeyNotFoundInSetException($name, array_keys($this->actions), 'actions');
    }
@param string $name Action name

@throws KeyNotFoundInSetException If action does not exist

@return AbstractAction