| 1 | <?php |
||
| 10 | class ServiceProvider implements ServiceProviderInterface{ |
||
| 11 | /** |
||
| 12 | * Registers services on the given app. |
||
| 13 | * |
||
| 14 | * This method should only be used to configure services and parameters. |
||
| 15 | * It should not get services. |
||
| 16 | */ |
||
| 17 | public function register(Application $app) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Bootstraps the application. |
||
| 26 | * |
||
| 27 | * This method is called after all services are registered |
||
| 28 | * and should be used for "dynamic" configuration (whenever |
||
| 29 | * a service must be requested). |
||
| 30 | */ |
||
| 31 | 35 | public function boot(Application $app) |
|
| 35 | |||
| 36 | } |