JsonNormalizerBase.php in Schemata 8
File
schemata_json_schema/src/Normalizer/json/JsonNormalizerBase.phpView source
<?php
namespace Drupal\schemata_json_schema\Normalizer\json;
use Drupal\schemata\Normalizer\NormalizerBase;
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
/**
* Base class for JSON Schema Normalizers.
*/
abstract class JsonNormalizerBase extends NormalizerBase implements DenormalizerInterface {
/**
* The formats that the Normalizer can handle.
*
* @var array
*/
protected $format = 'schema_json';
/**
* The formats that the Normalizer can handle.
*
* @var array
*/
protected $describedFormat = 'json';
}
Classes
Name | Description |
---|---|
JsonNormalizerBase | Base class for JSON Schema Normalizers. |