NormalizerBase.php in Drupal 9
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\hal\NormalizerFile
core/modules/hal/src/Normalizer/NormalizerBase.phpView 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
Name | Description |
---|---|
NormalizerBase | Base class for Normalizers. |