Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
18 | class JsonDateAwareFormatter extends NormalizerFormatter |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | * |
||
23 | * @param array $record A record to format |
||
24 | * |
||
25 | * @return mixed The formatted record |
||
26 | */ |
||
27 | 3 | public function format(array $record) |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | * |
||
36 | * @param array $records A set of records to format |
||
37 | * |
||
38 | * @return mixed The formatted set of records |
||
39 | */ |
||
40 | 1 | public function formatBatch(array $records) |
|
45 |