| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class Map implements Constructor |
||
| 13 | { |
||
| 14 | private $key; |
||
| 15 | private $value; |
||
| 16 | private $arguments; |
||
| 17 | |||
| 18 | 7 | public function __construct(string $key, string $value, Argument ...$arguments) |
|
| 19 | { |
||
| 20 | 7 | $this->key = $key; |
|
| 21 | 7 | $this->value = $value; |
|
| 22 | 7 | $this->arguments = Stream::of(Argument::class, ...$arguments); |
|
| 23 | 7 | } |
|
| 24 | |||
| 25 | 5 | public function __toString(): string |
|
| 36 | } |
||
| 37 | } |
||
| 38 |