| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 7 | #[Attribute(Attribute::TARGET_PROPERTY)] |
||
| 8 | class DefaultValueResolver |
||
| 9 | { |
||
| 10 | public const PARENT_KEY = 'parent.key'; |
||
| 11 | public const NESTED_LIST = 'nested.list'; |
||
| 12 | |||
| 13 | private string $resolver; |
||
| 14 | |||
| 15 | 1 | public function __construct(string $resolver = self::PARENT_KEY) |
|
| 18 | 1 | } |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 1 | public function getResolver(): string |
|
| 28 |