You are here

protected property EntitySerializationTest::$serializer in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::serializer

The serializer service.

Type: \Symfony\Component\Serializer\Serializer

File

core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php, line 64

Class

EntitySerializationTest
Tests that entities can be serialized to supported core formats.

Namespace

Drupal\Tests\serialization\Kernel

Code

protected $serializer;