We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4689b28 commit ee07068Copy full SHA for ee07068
src/FlashServiceProvider.php
@@ -76,7 +76,7 @@ private function registerFlasher()
76
*/
77
private function registerFlash()
78
{
79
- $this->app->bind('CodeZero\Flash\Flash', function () {
+ $this->app->singleton('CodeZero\Flash\Flash', function () {
80
$config = config('flash');
81
$session = app()->make('CodeZero\Flash\SessionStore\SessionStore');
82
$translator = app()->make('CodeZero\Flash\Translator\Translator');
0 commit comments