You are here

class TestExtendedNormalizer in Drupal 10

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

Test normalizer with a different supported class.

Hierarchy

  • class \Drupal\Tests\serialization\Unit\Normalizer\TestExtendedNormalizer extends \Drupal\serialization\Normalizer\ComplexDataNormalizer

Expanded class hierarchy of TestExtendedNormalizer

File

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

Namespace

Drupal\Tests\serialization\Unit\Normalizer
View source
class TestExtendedNormalizer extends ComplexDataNormalizer {
  protected $supportedInterfaceOrClass = \stdClass::class;

}

Members