--- 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 @@
-<?php namespace App\Providers;
+<?php
+
+namespace CorpusParole\Providers;
use Illuminate\Bus\Dispatcher;
use Illuminate\Support\ServiceProvider;
-class BusServiceProvider extends ServiceProvider {
+class BusServiceProvider extends ServiceProvider
+{
+ /**
+ * Bootstrap any application services.
+ *
+ * @param \Illuminate\Bus\Dispatcher $dispatcher
+ */
+ public function boot(Dispatcher $dispatcher)
+ {
+ $dispatcher->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()
+ {
+ //
+ }
}