diff -r 01a844d292ac -r 00e2916104fe server/src/app/Providers/BusServiceProvider.php --- a/server/src/app/Providers/BusServiceProvider.php Mon Jun 15 19:30:32 2015 +0200 +++ b/server/src/app/Providers/BusServiceProvider.php Tue Jun 23 17:01:39 2015 +0200 @@ -1,34 +1,31 @@ -mapUsing(function ($command) { + return Dispatcher::simpleMapping( + $command, 'CorpusParole\Commands', 'CorpusParole\Handlers\Commands' + ); + }); + } - /** - * Bootstrap any application services. - * - * @param \Illuminate\Bus\Dispatcher $dispatcher - * @return void - */ - public function boot(Dispatcher $dispatcher) - { - $dispatcher->mapUsing(function($command) - { - return Dispatcher::simpleMapping( - $command, 'App\Commands', 'App\Handlers\Commands' - ); - }); - } - - /** - * Register any application services. - * - * @return void - */ - public function register() - { - // - } - + /** + * Register any application services. + */ + public function register() + { + // + } }