Mercurial > hg > isophonics-drupal-site
comparison core/modules/serialization/src/Encoder/XmlEncoder.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 1fec387a4317 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
54 } | 54 } |
55 | 55 |
56 /** | 56 /** |
57 * {@inheritdoc} | 57 * {@inheritdoc} |
58 */ | 58 */ |
59 public function encode($data, $format, array $context = []){ | 59 public function encode($data, $format, array $context = []) { |
60 return $this->getBaseEncoder()->encode($data, $format, $context); | 60 return $this->getBaseEncoder()->encode($data, $format, $context); |
61 } | 61 } |
62 | 62 |
63 /** | 63 /** |
64 * {@inheritdoc} | 64 * {@inheritdoc} |
68 } | 68 } |
69 | 69 |
70 /** | 70 /** |
71 * {@inheritdoc} | 71 * {@inheritdoc} |
72 */ | 72 */ |
73 public function decode($data, $format, array $context = []){ | 73 public function decode($data, $format, array $context = []) { |
74 return $this->getBaseEncoder()->decode($data, $format, $context); | 74 return $this->getBaseEncoder()->decode($data, $format, $context); |
75 } | 75 } |
76 | 76 |
77 /** | 77 /** |
78 * {@inheritdoc} | 78 * {@inheritdoc} |