Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/serializer/Encoder/EncoderInterface.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 |
---|---|
29 * | 29 * |
30 * @return string|int|float|bool | 30 * @return string|int|float|bool |
31 * | 31 * |
32 * @throws UnexpectedValueException | 32 * @throws UnexpectedValueException |
33 */ | 33 */ |
34 public function encode($data, $format, array $context = array()); | 34 public function encode($data, $format, array $context = []); |
35 | 35 |
36 /** | 36 /** |
37 * Checks whether the serializer can encode to given format. | 37 * Checks whether the serializer can encode to given format. |
38 * | 38 * |
39 * @param string $format Format name | 39 * @param string $format Format name |