Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class NullDependency implements DependencyInterface |
||
11 | { |
||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | */ |
||
15 | public function __toString(): string |
||
16 | { |
||
17 | return ''; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | * |
||
23 | * @return void |
||
24 | */ |
||
25 | public function inject(Container $container) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | public function register(array &$container, Bind $bind) |
||
35 | { |
||
36 | $container[(string) $bind] = $bind->getBound(); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function setScope($scope) |
||
44 | } |
||
45 | } |
||
46 |