public function run() { parent::run(); $method = 'on' . ucfirst($this->action); if (method_exists($this, $method)) { $this->{$method}(); $this->renderOptions(); } else { $this->mergeToResponse($this->_steps->current->run()); } return $this->response; }
public function setAction($value) { parent::setAction($value); $this->_actions->current = $value; }