| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | abstract class Meta |
||
| 6 | { |
||
| 7 | final public function __construct( |
||
| 11 | } |
||
| 12 | |||
| 13 | public static function make(mixed $value): static |
||
| 14 | { |
||
| 15 | return new static($value); |
||
| 16 | } |
||
| 17 | |||
| 18 | protected function transform(mixed $value): mixed |
||
| 19 | { |
||
| 20 | // Feel free to override this to transform the value during instantiation |
||
| 21 | |||
| 22 | return $value; |
||
| 23 | } |
||
| 24 | |||
| 25 | final public static function method(): string |
||
| 32 | } |
||
| 33 | } |
||
| 34 |