Serializer.php

Same filename in this branch
  1. 11.x core/modules/jsonapi/src/Serializer/Serializer.php
  2. 11.x core/modules/rest/src/Plugin/views/style/Serializer.php
Same filename in other branches
  1. 9 core/modules/jsonapi/src/Serializer/Serializer.php
  2. 9 core/modules/rest/src/Plugin/views/style/Serializer.php
  3. 8.9.x core/modules/jsonapi/src/Serializer/Serializer.php
  4. 8.9.x core/modules/rest/src/Plugin/views/style/Serializer.php
  5. 10 core/modules/jsonapi/src/Serializer/Serializer.php
  6. 10 core/modules/rest/src/Plugin/views/style/Serializer.php

Namespace

Drupal\serialization\Serializer

File

core/modules/serialization/src/Serializer/Serializer.php

View source
<?php

declare (strict_types=1);
namespace Drupal\serialization\Serializer;

use Symfony\Component\Serializer\Serializer as SymfonySerializer;

/**
 * Serializer with JSON Schema generation convenience methods.
 */
class Serializer extends SymfonySerializer implements JsonSchemaProviderSerializerInterface {
    use JsonSchemaProviderSerializerTrait;

}

Classes

Title Deprecated Summary
Serializer Serializer with JSON Schema generation convenience methods.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.