| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 70% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ValueDefinition implements DefinitionInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var mixed |
||
| 16 | */ |
||
| 17 | private $value; |
||
| 18 | |||
| 19 | private ?string $type; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param mixed $value |
||
| 23 | */ |
||
| 24 | 6 | public function __construct($value, string $type = null) |
|
| 28 | 6 | } |
|
| 29 | |||
| 30 | public function getType(): ?string |
||
| 33 | } |
||
| 34 | |||
| 35 | 6 | public function resolve(ContainerInterface $container) |
|
| 44 |