1 | <?php |
||
13 | class ServiceProvider implements ServiceProviderContract { |
||
14 | /** |
||
15 | * Container to register on. |
||
16 | * |
||
17 | * @var Container |
||
18 | */ |
||
19 | protected $container; |
||
20 | |||
21 | /** |
||
22 | * {@inheritDoc} |
||
23 | * |
||
24 | * @param Container $container |
||
25 | */ |
||
26 | 3 | public function register( Container $container ) { |
|
33 | |||
34 | /** |
||
35 | * Registers the routes on the generated Router. |
||
36 | * |
||
37 | * This is a no-op by default by can be overwritten by the implementing developer |
||
38 | * to provide a single, clean location to register their routes. |
||
39 | * |
||
40 | * @param Router $router |
||
41 | * |
||
42 | * @codeCoverageIgnore |
||
43 | */ |
||
44 | protected function add_routes( Router $router ) { |
||
47 | } |
||
48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.