コード例 #1
0
 /**
  * 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'));
 }
コード例 #2
0
 /**
  * Create a new InstallerController instance.
  *
  * @param InstallerFormBuilder $form
  * @return \Illuminate\View\View|\Symfony\Component\HttpFoundation\Response
  */
 public function index(InstallerFormBuilder $form)
 {
     return $form->render();
 }