Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class ServiceIdDecorator implements ServiceIdDecoratorInterface |
||
21 | { |
||
22 | /** |
||
23 | * Camelizer object |
||
24 | * |
||
25 | * @var CamelizerInterface |
||
26 | */ |
||
27 | private $camelizer; |
||
28 | |||
29 | /** |
||
30 | * Constructor |
||
31 | * |
||
32 | * @param CamelizerInterface $camelizer Camelizer object |
||
33 | * @codeCoverageIgnore |
||
34 | */ |
||
35 | public function __construct(CamelizerInterface $camelizer) |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Decorate identifier |
||
43 | * |
||
44 | * @param string $id Identifier to decorate |
||
45 | * @return string Decorated identifier |
||
46 | * @see \Kocuj\Di\ServiceIdDecorator\ServiceIdDecoratorInterface::decorate() |
||
47 | * @codeCoverageIgnore |
||
48 | */ |
||
49 | public function decorate(string $id): string |
||
57 |