Beispiel #1
0
 /**
  * @param \Notadd\Install\Requests\InstallRequest $request
  *
  * @return \Illuminate\Contracts\View\View
  */
 public function store(InstallRequest $request)
 {
     $this->command = $this->getCommand('install');
     $this->command->setDataFromController($request->all());
     $input = new ArrayInput([]);
     $output = new BufferedOutput();
     $this->command->run($input, $output);
     $this->share('admin_account', $request->get('admin_account'));
     $this->share('admin_email', $request->get('admin_email'));
     $this->share('admin_password', $request->get('admin_password'));
     return $this->view('install::success');
 }