Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/serializer/SerializerInterface.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 | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
19 interface SerializerInterface | 19 interface SerializerInterface |
20 { | 20 { |
21 /** | 21 /** |
22 * Serializes data in the appropriate format. | 22 * Serializes data in the appropriate format. |
23 * | 23 * |
24 * @param mixed $data any data | 24 * @param mixed $data Any data |
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 = array()); |
31 | 31 |