/** * Handle the installer form. * * @param InstallerFormBuilder $builder * @param InstallerModuleInstaller $moduleInstaller */ public function handle(InstallerFormBuilder $builder, InstallerModuleInstaller $moduleInstaller) { $moduleInstaller->install($_POST); $builder->setFormResponse(redirect('installer/install')); }
/** * Create a new InstallerController instance. * * @param InstallerFormBuilder $form * @return \Illuminate\View\View|\Symfony\Component\HttpFoundation\Response */ public function index(InstallerFormBuilder $form) { return $form->render(); }