| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | public function getNormalizationFieldMappings(string $path): array |
||
| 23 | { |
||
| 24 | $fieldMappings = parent::getNormalizationFieldMappings($path); |
||
| 25 | |||
| 26 | $fieldMappings[] = NormalizationFieldMappingBuilder::create('method')->getMapping(); |
||
| 27 | 1 | $fieldMappings[] = NormalizationFieldMappingBuilder::create('allowedMethods')->getMapping(); |
|
| 28 | |||
| 29 | 1 | return $fieldMappings; |
|
| 30 | } |
||
| 32 |