/** * @return HttpResponse|null */ protected function completeWizard() { $wizardEvent = new WizardEvent(); $wizardEvent->setWizard($this->wizard); $wizardEventManager = $this->wizard->getEventManager(); $wizardEventManager->trigger(WizardEvent::EVENT_COMPLETE, $wizardEvent); return $this->doRedirect(); }
public function init() { $wizardEvent = new WizardEvent(); $wizardEvent->setWizard($this); $this->getEventManager()->trigger(WizardEvent::EVENT_INIT, $wizardEvent); }