| Total Complexity | 8 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class MappingTransformer |
||
| 10 | { |
||
| 11 | /** @var TransformerRegistry */ |
||
| 12 | private $registry; |
||
| 13 | |||
| 14 | 1 | public function __construct(TransformerRegistry $registry) |
|
| 17 | 1 | } |
|
| 18 | |||
| 19 | 1 | public function transform(array $data, array $mapping) |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | private function applyTransformer(string $name, $value, $transformers) |
|
| 45 |