/** * Prepare * * @return void * * @access protected */ protected function prepare() { parent::prepare(); $name = $this->getViewName(); $this->view->setView($name); $this->addPayloadData(); }
/** * Prepare * * @return void * * @access protected */ protected function prepare() { parent::prepare(); $name = $this->getViewName(); $this->view->setView($name); $method = $this->getMethodForPayload(); $this->{$method}(); }