Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Update FinalController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rashidlaasri authored Mar 23, 2018
1 parent 296d3e5 commit 28b8c41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Controllers/FinalController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use RachidLaasri\LaravelInstaller\Helpers\EnvironmentManager;
use RachidLaasri\LaravelInstaller\Helpers\FinalInstallManager;
use RachidLaasri\LaravelInstaller\Helpers\InstalledFileManager;
use RachidLaasri\LaravelInstaller\Events\LaravelInstallerFinished;

class FinalController extends Controller
{
Expand All @@ -20,6 +21,8 @@ public function finish(InstalledFileManager $fileManager, FinalInstallManager $f
$finalMessages = $finalInstall->runFinal();
$finalStatusMessage = $fileManager->update();
$finalEnvFile = $environment->getEnvContent();

event(new LaravelInstallerFinished);

return view('vendor.installer.finished', compact('finalMessages', 'finalStatusMessage', 'finalEnvFile'));
}
Expand Down

0 comments on commit 28b8c41

Please sign in to comment.