Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/serializer/Normalizer/ArrayDenormalizer.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 1fec387a4317 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
29 */ | 29 */ |
30 private $serializer; | 30 private $serializer; |
31 | 31 |
32 /** | 32 /** |
33 * {@inheritdoc} | 33 * {@inheritdoc} |
34 * | |
35 * @throws UnexpectedValueException | |
36 */ | 34 */ |
37 public function denormalize($data, $class, $format = null, array $context = array()) | 35 public function denormalize($data, $class, $format = null, array $context = array()) |
38 { | 36 { |
39 if ($this->serializer === null) { | 37 if ($this->serializer === null) { |
40 throw new BadMethodCallException('Please set a serializer before calling denormalize()!'); | 38 throw new BadMethodCallException('Please set a serializer before calling denormalize()!'); |