| 1 | <?php |
||
| 12 | class ServiceProvider extends IlluminateServiceProvider |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Boot method. |
||
| 16 | * Loads routes and configuration. |
||
| 17 | */ |
||
| 18 | public function boot() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Registers the configuration. |
||
| 30 | */ |
||
| 31 | public function register() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Allows configuration to be publishable, this allows user to override |
||
| 40 | * values without editing package. |
||
| 41 | */ |
||
| 42 | protected function config() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Load the package routes (if the file exists). |
||
| 53 | */ |
||
| 54 | protected function loadRoutes() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Load the packages views. |
||
| 64 | */ |
||
| 65 | protected function loadViews() |
||
| 75 | } |
||
| 76 |