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.
2 parents 0aa39b1 + d67f86b commit ed68389Copy full SHA for ed68389
src/Laracasts/Commander/CommanderServiceProvider.php
@@ -49,7 +49,10 @@ protected function registerCommandTranslator()
49
*/
50
protected function registerCommandBus()
51
{
52
- $this->app->bindShared('Laracasts\Commander\CommandBus', 'Laracasts\Commander\DefaultCommandBus');
+ $this->app->bindShared('Laracasts\Commander\CommandBus', function($app)
53
+ {
54
+ return $app->make('Laracasts\Commander\DefaultCommandBus');
55
+ });
56
}
57
58
/**
0 commit comments