You are here

protected property TestExtendedNormalizer::$supportedInterfaceOrClass in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TestExtendedNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string|array

Overrides ComplexDataNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php, line 119
Contains \Drupal\Tests\serialization\Unit\Normalizer\ComplexDataNormalizerTest.

Class

TestExtendedNormalizer
Test normalizer with a different supported class.

Namespace

Drupal\Tests\serialization\Unit\Normalizer

Code

protected $supportedInterfaceOrClass = \stdClass::class;