| Total Complexity | 3 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 7 | class LaravelExceptionNotifier extends ServiceProvider |
||
| 8 | { |
||
| 9 | private $_packageTag = 'laravelexceptionnotifier'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Indicates if loading of the provider is deferred. |
||
| 13 | * |
||
| 14 | * @var bool |
||
| 15 | */ |
||
| 16 | protected $defer = false; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Bootstrap the application services. |
||
| 20 | * |
||
| 21 | * @return void |
||
| 22 | */ |
||
| 23 | public function boot() |
||
| 24 | { |
||
| 25 | // |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Register the application services. |
||
| 30 | * |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | public function register() |
||
| 34 | { |
||
| 35 | $this->loadViewsFrom(__DIR__.'/resources/views/', $this->_packageTag); |
||
| 36 | $this->mergeConfigFrom(__DIR__.'/config/exceptions.php', $this->_packageTag); |
||
| 37 | $this->publishFiles(); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Publish files for package. |
||
| 42 | * |
||
| 43 | * @return void |
||
| 44 | */ |
||
| 45 | private function publishFiles() |
||
| 63 | } |
||
| 64 | } |
||
| 65 |