public function NullNormalizer::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/serialization/src/Normalizer/NullNormalizer.php \Drupal\serialization\Normalizer\NullNormalizer::__construct()
Constructs a NullNormalizer object.
Parameters
string|array $supported_interface_of_class: The supported interface(s) or class(es).
File
- core/
modules/ serialization/ src/ Normalizer/ NullNormalizer.php, line 21 - Contains \Drupal\serialization\Normalizer\NullNormalizer.
Class
- NullNormalizer
- Null normalizer.
Namespace
Drupal\serialization\NormalizerCode
public function __construct($supported_interface_of_class) {
$this->supportedInterfaceOrClass = $supported_interface_of_class;
}