| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | 1 | public function getNormalizationFieldMappings(string $path): array |
|
| 30 | { |
||
| 31 | return [ |
||
| 32 | 1 | NormalizationFieldMappingBuilder::create('type') |
|
| 33 | 1 | ->setFieldNormalizer(new FieldNormalizer(new MethodAccessor('type'))) |
|
| 34 | 1 | ->getMapping(), |
|
| 35 | 1 | NormalizationFieldMappingBuilder::create('title') |
|
| 36 | 1 | ->setFieldNormalizer(new FieldNormalizer(new MethodAccessor('title'))) |
|
| 37 | 1 | ->getMapping(), |
|
| 38 | 1 | NormalizationFieldMappingBuilder::create('detail') |
|
| 39 | 1 | ->setFieldNormalizer(new FieldNormalizer(new MethodAccessor('detail'))) |
|
| 40 | 1 | ->getMapping(), |
|
| 41 | 1 | NormalizationFieldMappingBuilder::create('instance') |
|
| 42 | 1 | ->setFieldNormalizer(new FieldNormalizer(new MethodAccessor('instance'))) |
|
| 43 | 1 | ->getMapping(), |
|
| 44 | ]; |
||
| 45 | } |
||
| 46 | |||
| 67 |