/** * Handle the installer form. * * @param Form $form * @param StreamsDistributionInstaller $distributionInstaller */ public function handle(Form $form, StreamsDistributionInstaller $distributionInstaller) { $distributionInstaller->install($_POST); $form->setResponse(redirect('installer/complete')); }
/** * Set the form response. * * @param null|false|Response $response * @return $this */ public function setFormResponse(Response $response) { $this->form->setResponse($response); return $this; }