class TestNormalizerBase
Same name and namespace in other branches
- 11.x core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php \Drupal\Tests\serialization\Unit\Normalizer\TestNormalizerBase
Test class for NormalizerBase.
Hierarchy
- class \Drupal\serialization\Normalizer\NormalizerBase extends \Symfony\Component\Serializer\SerializerAwareInterface, \Drupal\serialization\Normalizer\CacheableNormalizerInterface, \Symfony\Component\Serializer\Normalizer\CacheableSupportsMethodInterface uses \Symfony\Component\Serializer\SerializerAwareTrait
- class \Drupal\Tests\serialization\Unit\Normalizer\TestNormalizerBase implements \Drupal\serialization\Normalizer\NormalizerBase
Expanded class hierarchy of TestNormalizerBase
File
-
core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ NormalizerBaseTest.php, line 69
Namespace
Drupal\Tests\serialization\Unit\NormalizerView source
abstract class TestNormalizerBase extends NormalizerBase {
/**
* Sets the protected supportedInterfaceOrClass property.
*
* @param string $supported_interface_or_class
* The class name to set.
*/
public function setSupportedInterfaceOrClass($supported_interface_or_class) {
$this->supportedInterfaceOrClass = $supported_interface_or_class;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.