1 | <?php |
||
10 | class ValidatorServiceProvider 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 | 35 | public function register(Application $app) |
|
26 | |||
27 | /** |
||
28 | * Bootstraps the application. |
||
29 | * |
||
30 | * This method is called after all services are registered |
||
31 | * and should be used for "dynamic" configuration (whenever |
||
32 | * a service must be requested). |
||
33 | */ |
||
34 | 35 | public function boot(Application $app) |
|
38 | |||
39 | } |