You are here

public function EntityConditionGroupNormalizer::denormalize in JSON:API 8

File

src/Normalizer/EntityConditionGroupNormalizer.php, line 35

Class

EntityConditionGroupNormalizer
The normalizer used for entity conditions.

Namespace

Drupal\jsonapi\Normalizer

Code

public function denormalize($data, $class, $format = NULL, array $context = []) {
  return new EntityConditionGroup($data['conjunction'], $data['members']);
}