Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/serializer/Normalizer/NormalizableInterface.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 |
---|---|
26 * | 26 * |
27 * It is important to understand that the normalize() call should normalize | 27 * It is important to understand that the normalize() call should normalize |
28 * recursively all child objects of the implementor. | 28 * recursively all child objects of the implementor. |
29 * | 29 * |
30 * @param NormalizerInterface $normalizer The normalizer is given so that you | 30 * @param NormalizerInterface $normalizer The normalizer is given so that you |
31 * can use it to normalize objects contained within this object. | 31 * can use it to normalize objects contained within this object |
32 * @param string|null $format The format is optionally given to be able to normalize differently | 32 * @param string|null $format The format is optionally given to be able to normalize differently |
33 * based on different output formats. | 33 * based on different output formats |
34 * @param array $context Options for normalizing this object | 34 * @param array $context Options for normalizing this object |
35 * | 35 * |
36 * @return array|scalar | 36 * @return array|string|int|float|bool |
37 */ | 37 */ |
38 public function normalize(NormalizerInterface $normalizer, $format = null, array $context = array()); | 38 public function normalize(NormalizerInterface $normalizer, $format = null, array $context = array()); |
39 } | 39 } |