class Serializer

Serializer with JSON Schema generation convenience methods.

Hierarchy

Expanded class hierarchy of Serializer

30 string references to 'Serializer'
AuthenticationProviderPassTest::testEncoders in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php
Tests encoders.
CollectRoutesTest::setUp in core/modules/rest/tests/src/Unit/CollectRoutesTest.php
EndOfTransactionQueriesTest::register in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
Registers test-specific services.
EntitySerializationTest::setUp in core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
FieldItemSerializationTest::setUp in core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php

... See full list

1 service uses Serializer
serializer in core/modules/serialization/serialization.services.yml
Drupal\serialization\Serializer\Serializer

File

core/modules/serialization/src/Serializer/Serializer.php, line 12

Namespace

Drupal\serialization\Serializer
View source
class Serializer extends SymfonySerializer implements JsonSchemaProviderSerializerInterface {
  use JsonSchemaProviderSerializerTrait;

}

Members


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