Mercurial > hg > isophonics-drupal-site
comparison core/modules/serialization/src/Encoder/XmlEncoder.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 7a779792577d |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
10 /** | 10 /** |
11 * Adds XML support for serializer. | 11 * Adds XML support for serializer. |
12 * | 12 * |
13 * This acts as a wrapper class for Symfony's XmlEncoder so that it is not | 13 * This acts as a wrapper class for Symfony's XmlEncoder so that it is not |
14 * implementing NormalizationAwareInterface, and can be normalized externally. | 14 * implementing NormalizationAwareInterface, and can be normalized externally. |
15 * | |
16 * @internal | |
17 * This encoder should not be used directly. Rather, use the `serializer` | |
18 * service. | |
15 */ | 19 */ |
16 class XmlEncoder extends SerializerAwareEncoder implements EncoderInterface, DecoderInterface { | 20 class XmlEncoder extends SerializerAwareEncoder implements EncoderInterface, DecoderInterface { |
17 | 21 |
18 /** | 22 /** |
19 * The formats that this Encoder supports. | 23 * The formats that this Encoder supports. |