public function TestComplexData::getProperties in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TestComplexData::getProperties()
Gets an array of property objects.
Parameters
bool $include_computed: If set to TRUE, computed properties are included. Defaults to FALSE.
Return value
\Drupal\Core\TypedData\TypedDataInterface[] An array of property objects implementing the TypedDataInterface, keyed by property name.
Throws
\Drupal\Core\TypedData\Exception\MissingDataException If the complex data structure is unset and no property can be created.
Overrides ComplexDataInterface::getProperties
File
- core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ComplexDataNormalizerTest.php, line 110 - Contains \Drupal\Tests\serialization\Unit\Normalizer\ComplexDataNormalizerTest.
Class
- TestComplexData
- Test class implementing ComplexDataInterface and IteratorAggregate.
Namespace
Drupal\Tests\serialization\Unit\NormalizerCode
public function getProperties($include_computed = FALSE) {
}