function TraversableObjectNormalizer::normalize
File
-
core/
modules/ jsonapi/ tests/ modules/ jsonapi_test_data_type/ src/ Normalizer/ TraversableObjectNormalizer.php, line 16
Class
- TraversableObjectNormalizer
- Normalizes TraversableObject.
Namespace
Drupal\jsonapi_test_data_type\NormalizerCode
public function normalize($object, $format = NULL, array $context = []) : array|string|int|float|bool|\ArrayObject|null {
return $object->property;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.