protected property TestExtendedNormalizer::$supportedInterfaceOrClass in Drupal 9
Same name and namespace in other branches
- 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\NormalizerCode
protected $supportedInterfaceOrClass = \stdClass::class;