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