| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 7 | #[Attribute(Attribute::TARGET_PROPERTY)] |
||
| 8 | class Constructor |
||
| 9 | { |
||
| 10 | public const DEFAULT_EMPTY = 'default.empty'; |
||
| 11 | public const STATIC_MAKE = 'static.make'; |
||
| 12 | |||
| 13 | private string $value; |
||
| 14 | |||
| 15 | public function __construct(string $value = self::DEFAULT_EMPTY) |
||
| 16 | { |
||
| 17 | $this->value = $value; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public function getValue(): string |
||
| 26 | } |
||
| 27 | } |
||
| 28 |