You are here

public function TestNormalizerBase::setSupportedInterfaceOrClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Normalizer

Code

public function setSupportedInterfaceOrClass($supported_interface_or_class) {
  $this->supportedInterfaceOrClass = $supported_interface_or_class;
}