isFinished()) { $setup = $wizard->getSetup(); $success = $setup->run(); if ($success) { $wizard->clearSession(); } else { $wizard->setIsFinished(false); } $this->view->success = $success; $this->view->report = $setup->getReport(); } else { $wizard->handleRequest(); } $this->view->wizard = $wizard; } }