NormalizerBase.php
Same filename in this branch
Same filename in other branches
- 8.9.x core/modules/jsonapi/src/Normalizer/NormalizerBase.php
- 8.9.x core/modules/serialization/src/Normalizer/NormalizerBase.php
- 8.9.x core/modules/hal/src/Normalizer/NormalizerBase.php
- 10 core/modules/jsonapi/src/Normalizer/NormalizerBase.php
- 10 core/modules/serialization/src/Normalizer/NormalizerBase.php
- 11.x core/modules/jsonapi/src/Normalizer/NormalizerBase.php
- 11.x core/modules/serialization/src/Normalizer/NormalizerBase.php
Namespace
Drupal\hal\NormalizerFile
-
core/
modules/ hal/ src/ Normalizer/ NormalizerBase.php
View source
<?php
namespace Drupal\hal\Normalizer;
use Drupal\serialization\Normalizer\NormalizerBase as SerializationNormalizerBase;
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
/**
* Base class for Normalizers.
*/
abstract class NormalizerBase extends SerializationNormalizerBase implements DenormalizerInterface {
/**
* {@inheritdoc}
*/
protected $format = [
'hal_json',
];
}
Classes
Title | Deprecated | Summary |
---|---|---|
NormalizerBase | Base class for Normalizers. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.