| Total Complexity | 7 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class DataTransformer implements DataTransformerInterface |
||
| 10 | { |
||
| 11 | public function __construct( |
||
| 12 | /** @var iterable<DataTransformerInterface> $transformers */ |
||
| 13 | private iterable $transformers |
||
| 14 | ) { |
||
| 15 | } |
||
| 16 | |||
| 17 | public function supports(PropertyInterface $property, mixed $data): bool |
||
| 26 | } |
||
| 27 | |||
| 28 | public function transform(PropertyInterface $property, mixed $data): mixed |
||
| 37 | } |
||
| 38 | } |
||
| 39 |