| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class FaviconServiceProvider extends ServiceProvider |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Bootstrap the application services. |
||
| 14 | */ |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | if ($this->app->runningInConsole()) { |
||
| 18 | $this->publishes([ |
||
| 19 | __DIR__.'/../config/favicon.php' => config_path('favicon.php'), |
||
| 20 | ], 'config'); |
||
| 21 | } |
||
| 22 | |||
| 23 | $this->registerRoutes(); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Register the application services. |
||
| 28 | */ |
||
| 29 | public function register() |
||
| 39 | }); |
||
| 40 | } |
||
| 41 | |||
| 42 | protected function registerRoutes() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |