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