EntityNormalizerTest::$serializer

Same name in other branches
  1. 9 core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\EntityNormalizerTest::serializer
  2. 8.9.x core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\EntityNormalizerTest::serializer
  3. 11.x core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\EntityNormalizerTest::serializer

The mock serializer.

Type: \Symfony\Component\Serializer\SerializerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php, line 49

Class

EntityNormalizerTest
@coversDefaultClass \Drupal\serialization\Normalizer\EntityNormalizer @group serialization

Namespace

Drupal\Tests\serialization\Unit\Normalizer

Code

protected $serializer;

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