| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | #[OneOf(['a', 'b', 'c'])] |
||
| 13 | final class OneOfDto implements AttributeTranslatorProviderInterface |
||
| 14 | { |
||
| 15 | public function __construct( |
||
| 16 | public ?int $a = null, |
||
| 17 | public ?int $b = null, |
||
| 18 | public ?int $c = null, |
||
| 19 | ) { |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getAttributeLabels(): array |
||
| 28 | ]; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getAttributeTranslator(): ?AttributeTranslatorInterface |
||
| 34 | } |
||
| 35 | } |
||
| 36 |