1 | <?php |
||
8 | class PathServiceProvider implements ServiceProviderInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var Callable |
||
13 | */ |
||
14 | public $prefixer; |
||
15 | |||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | public $paths = []; |
||
21 | |||
22 | |||
23 | /** |
||
24 | * @var Container |
||
25 | */ |
||
26 | public $dic; |
||
27 | |||
28 | |||
29 | /** |
||
30 | * @param array $paths Optional array with paths |
||
31 | * @param Callable|null $prefixer Optional callable that prefixes the paths. |
||
32 | */ |
||
33 | 5 | public function __construct ( $paths = array(), Callable $prefixer = null) |
|
38 | |||
39 | |||
40 | /** |
||
41 | * @implements ServiceProviderInterface |
||
42 | */ |
||
43 | 4 | public function register(Container $dic) |
|
73 | } |
||
74 | |||
75 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.