| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class Primitive implements Argument |
||
| 13 | { |
||
| 14 | private $value; |
||
| 15 | |||
| 16 | 3 | private function __construct($value) |
|
| 17 | { |
||
| 18 | 3 | $this->value = $value; |
|
| 19 | 3 | } |
|
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | 3 | public static function fromValue($value): Argument |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | 2 | public function resolve( |
|
| 37 | } |
||
| 38 | } |
||
| 39 |