Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class XmlSerializer extends AbstractSerializer implements MediaTypeHandler |
||
11 | { |
||
12 | private const FORMAT_XML = 'xml'; |
||
13 | |||
14 | /** {@inheritdoc} */ |
||
15 | public function getSupportedFormat(): string |
||
16 | { |
||
17 | return self::FORMAT_XML; |
||
18 | } |
||
19 | |||
20 | /** {@inheritdoc} */ |
||
21 | public function getSupportedMediaTypes(): array |
||
24 | } |
||
25 | |||
26 | /** {@inheritdoc} */ |
||
27 | public function getContentType(): string |
||
32 |