Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class ValueDefinition implements DefinitionInterface |
||
11 | { |
||
12 | private $value; |
||
13 | |||
14 | public function __construct($value) |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * @param Container $container |
||
21 | */ |
||
22 | public function resolve(ContainerInterface $container, array $params = []) |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * This is used to detect circular reference. |
||
29 | * If a concrete reference is guaranteed to never be part of such a circle |
||
30 | * (for example because it references a simple value) NULL should be returned |
||
31 | * @return string|null A string uniquely identifying a service in the container |
||
32 | */ |
||
33 | public function getId(): ?string |
||
38 |