Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/serializer/SerializerInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
25 * @param string $format Format name | 25 * @param string $format Format name |
26 * @param array $context Options normalizers/encoders have access to | 26 * @param array $context Options normalizers/encoders have access to |
27 * | 27 * |
28 * @return string | 28 * @return string |
29 */ | 29 */ |
30 public function serialize($data, $format, array $context = array()); | 30 public function serialize($data, $format, array $context = []); |
31 | 31 |
32 /** | 32 /** |
33 * Deserializes data into the given type. | 33 * Deserializes data into the given type. |
34 * | 34 * |
35 * @param mixed $data | 35 * @param mixed $data |
37 * @param string $format | 37 * @param string $format |
38 * @param array $context | 38 * @param array $context |
39 * | 39 * |
40 * @return object | 40 * @return object |
41 */ | 41 */ |
42 public function deserialize($data, $type, $format, array $context = array()); | 42 public function deserialize($data, $type, $format, array $context = []); |
43 } | 43 } |