| 1 | <?php namespace Arcanedev\RouteViewer; |
||
| 11 | class RouteViewerServiceProvider extends PackageServiceProvider |
||
| 12 | { |
||
| 13 | /* ----------------------------------------------------------------- |
||
| 14 | | Properties |
||
| 15 | | ----------------------------------------------------------------- |
||
| 16 | */ |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Package name. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $package = 'route-viewer'; |
||
| 24 | |||
| 25 | /* ----------------------------------------------------------------- |
||
| 26 | | Main Methods |
||
| 27 | | ----------------------------------------------------------------- |
||
| 28 | */ |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Register the service provider. |
||
| 32 | */ |
||
| 33 | 22 | public function register() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Boot the service provider. |
||
| 44 | */ |
||
| 45 | 22 | public function boot() |
|
| 53 | |||
| 54 | /** |
||
| 55 | * Get the services provided by the provider. |
||
| 56 | * |
||
| 57 | * @return array |
||
| 58 | */ |
||
| 59 | 2 | public function provides() |
|
| 60 | { |
||
| 61 | return [ |
||
| 62 | 2 | Contracts\RouteViewer::class, |
|
| 63 | ]; |
||
| 64 | } |
||
| 65 | |||
| 66 | /* ----------------------------------------------------------------- |
||
| 67 | | Other Methods |
||
| 68 | | ----------------------------------------------------------------- |
||
| 69 | */ |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Register the Route Viewer. |
||
| 73 | */ |
||
| 74 | 22 | private function registerRouteViewer() |
|
| 78 | } |
||
| 79 |