| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class PropertyName |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $propertyName; |
||
| 24 | |||
| 25 | private function __construct(string $propertyName) |
||
| 26 | { |
||
| 27 | $this->propertyName = $propertyName; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function __toString(): string |
||
| 33 | } |
||
| 34 | |||
| 35 | public static function fromString(string $propertyName): self |
||
| 40 |