@@ -10,20 +10,20 @@ discard block |
||
10 | 10 | class UnderstandLaravel5ServiceProvider extends ServiceProvider |
11 | 11 | { |
12 | 12 | |
13 | - /** |
|
14 | - * Indicates if loading of the provider is deferred. |
|
15 | - * |
|
16 | - * @var bool |
|
17 | - */ |
|
18 | - protected $defer = false; |
|
19 | - |
|
20 | - /** |
|
21 | - * Bootstrap the application events. |
|
22 | - * |
|
23 | - * @return void |
|
24 | - */ |
|
25 | - public function boot() |
|
26 | - { |
|
13 | + /** |
|
14 | + * Indicates if loading of the provider is deferred. |
|
15 | + * |
|
16 | + * @var bool |
|
17 | + */ |
|
18 | + protected $defer = false; |
|
19 | + |
|
20 | + /** |
|
21 | + * Bootstrap the application events. |
|
22 | + * |
|
23 | + * @return void |
|
24 | + */ |
|
25 | + public function boot() |
|
26 | + { |
|
27 | 27 | $configPath = __DIR__ . '/../../config/understand-laravel.php'; |
28 | 28 | $this->publishes([$configPath => config_path('understand-laravel.php')], 'config'); |
29 | 29 | $enabled = $this->app['config']->get('understand-laravel.enabled'); |
@@ -37,23 +37,23 @@ discard block |
||
37 | 37 | { |
38 | 38 | $this->listenQueryEvents(); |
39 | 39 | } |
40 | - } |
|
41 | - |
|
42 | - /** |
|
43 | - * Register the service provider. |
|
44 | - * |
|
45 | - * @return void |
|
46 | - */ |
|
47 | - public function register() |
|
48 | - { |
|
49 | - $this->registerConfig(); |
|
40 | + } |
|
41 | + |
|
42 | + /** |
|
43 | + * Register the service provider. |
|
44 | + * |
|
45 | + * @return void |
|
46 | + */ |
|
47 | + public function register() |
|
48 | + { |
|
49 | + $this->registerConfig(); |
|
50 | 50 | $this->registerFieldProvider(); |
51 | 51 | $this->registerDataCollector(); |
52 | 52 | $this->registerTokenProvider(); |
53 | 53 | $this->registerLogger(); |
54 | 54 | $this->registerExceptionEncoder(); |
55 | 55 | $this->registerEventLoggers(); |
56 | - } |
|
56 | + } |
|
57 | 57 | |
58 | 58 | /** |
59 | 59 | * Register config |