You are here

public function NullNormalizer::normalize in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/serialization/src/Normalizer/NullNormalizer.php \Drupal\serialization\Normalizer\NullNormalizer::normalize()

File

core/modules/serialization/src/Normalizer/NullNormalizer.php, line 23

Class

NullNormalizer
Null normalizer.

Namespace

Drupal\serialization\Normalizer

Code

public function normalize($object, $format = NULL, array $context = []) {
  return NULL;
}