| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class DateFieldNormalizer implements FieldNormalizerInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var FieldNormalizerInterface |
||
| 14 | */ |
||
| 15 | private $fieldNormalizer; |
||
| 16 | |||
| 17 | public function __construct(FieldNormalizerInterface $fieldNormalizer, string $format = 'c') |
||
| 18 | { |
||
| 19 | $this->fieldNormalizer = new DateTimeFieldNormalizer($fieldNormalizer, $format); |
||
| 20 | } |
||
| 21 | 4 | ||
| 22 | /** |
||
| 23 | 4 | * @param object $object |
|
| 24 | 4 | * |
|
| 25 | * @return mixed |
||
| 26 | */ |
||
| 27 | public function normalizeField( |
||
| 36 | } |
||
| 37 | } |
||
| 38 |