| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class APAnalyticsServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | const CONFIG_PATH = __DIR__.'/../config/apanalytics.php'; |
||
| 10 | |||
| 11 | public function boot() |
||
| 12 | { |
||
| 13 | $this->publishes([self::CONFIG_PATH => config_path('apanalytics.php')], 'config'); |
||
| 14 | |||
| 15 | $this->publishes([__DIR__.'/resources/js/components' => resource_path('js/components')], 'views'); |
||
| 16 | |||
| 17 | $this->loadRoutesFrom(__DIR__.'/Routes.php'); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function register() |
||
| 28 | }); |
||
| 29 | } |
||
| 31 |