comparison vendor/symfony/serializer/Normalizer/DenormalizerInterface.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 7a779792577d
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
26 interface DenormalizerInterface 26 interface DenormalizerInterface
27 { 27 {
28 /** 28 /**
29 * Denormalizes data back into an object of the given class. 29 * Denormalizes data back into an object of the given class.
30 * 30 *
31 * @param mixed $data data to restore 31 * @param mixed $data Data to restore
32 * @param string $class the expected class to instantiate 32 * @param string $class The expected class to instantiate
33 * @param string $format format the given data was extracted from 33 * @param string $format Format the given data was extracted from
34 * @param array $context options available to the denormalizer 34 * @param array $context Options available to the denormalizer
35 * 35 *
36 * @return object 36 * @return object
37 * 37 *
38 * @throws BadMethodCallException Occurs when the normalizer is not called in an expected context 38 * @throws BadMethodCallException Occurs when the normalizer is not called in an expected context
39 * @throws InvalidArgumentException Occurs when the arguments are not coherent or not supported 39 * @throws InvalidArgumentException Occurs when the arguments are not coherent or not supported