| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class Set implements Constructor |
||
| 14 | { |
||
| 15 | private $type; |
||
| 16 | |||
| 17 | 6 | private function __construct(string $type) |
|
| 20 | 6 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | 12 | public static function fromString(Str $value): Constructor |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | 3 | public function __invoke(...$arguments): object |
|
| 42 | } |
||
| 43 | |||
| 44 | 2 | public function __toString(): string |
|
| 49 |