public function TestNormalizerBase::setSupportedInterfaceOrClass in Drupal 8
Same name and namespace in other branches
- 9 core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php \Drupal\Tests\serialization\Unit\Normalizer\TestNormalizerBase::setSupportedInterfaceOrClass()
Sets the protected supportedInterfaceOrClass property.
Parameters
string $supported_interface_or_class: The class name to set.
File
- core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ NormalizerBaseTest.php, line 77 - Contains \Drupal\Tests\serialization\Unit\Normalizer\NormalizerBaseTest.
Class
- TestNormalizerBase
- Test class for NormalizerBase.
Namespace
Drupal\Tests\serialization\Unit\NormalizerCode
public function setSupportedInterfaceOrClass($supported_interface_or_class) {
$this->supportedInterfaceOrClass = $supported_interface_or_class;
}