Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/serializer/Normalizer/DenormalizableInterface.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 |
---|---|
25 * Denormalizes the object back from an array of scalars|arrays. | 25 * Denormalizes the object back from an array of scalars|arrays. |
26 * | 26 * |
27 * It is important to understand that the denormalize() call should denormalize | 27 * It is important to understand that the denormalize() call should denormalize |
28 * recursively all child objects of the implementor. | 28 * recursively all child objects of the implementor. |
29 * | 29 * |
30 * @param DenormalizerInterface $denormalizer The denormalizer is given so that you | 30 * @param DenormalizerInterface $denormalizer The denormalizer is given so that you |
31 * can use it to denormalize objects contained within this object | 31 * can use it to denormalize objects contained within this object |
32 * @param array|scalar $data The data from which to re-create the object | 32 * @param array|string|int|float|bool $data The data from which to re-create the object |
33 * @param string|null $format The format is optionally given to be able to denormalize differently | 33 * @param string|null $format The format is optionally given to be able to denormalize |
34 * based on different input formats | 34 * differently based on different input formats |
35 * @param array $context options for denormalizing | 35 * @param array $context Options for denormalizing |
36 * | 36 * |
37 * @return object | 37 * @return object |
38 */ | 38 */ |
39 public function denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = array()); | 39 public function denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = array()); |
40 } | 40 } |