EntitySerializationTest::$serializer
Same name in other branches
- 9 core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::serializer
- 8.9.x core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php \Drupal\Tests\serialization\Kernel\EntitySerializationTest::serializer
- 11.x 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\KernelCode
protected $serializer;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.