function AbstractObjectNormalizer::extractAttributes
Extracts attributes to normalize from the class of the given object, format and context.
Return value
string[]
1 call to AbstractObjectNormalizer::extractAttributes()
- AbstractObjectNormalizer::getAttributes in vendor/
symfony/ serializer/ Normalizer/ AbstractObjectNormalizer.php - Gets and caches attributes for the given object, format and context.
3 methods override AbstractObjectNormalizer::extractAttributes()
- GetSetMethodNormalizer::extractAttributes in vendor/
symfony/ serializer/ Normalizer/ GetSetMethodNormalizer.php - Extracts attributes to normalize from the class of the given object, format and context.
- ObjectNormalizer::extractAttributes in vendor/
symfony/ serializer/ Normalizer/ ObjectNormalizer.php - Extracts attributes to normalize from the class of the given object, format and context.
- PropertyNormalizer::extractAttributes in vendor/
symfony/ serializer/ Normalizer/ PropertyNormalizer.php - Extracts attributes to normalize from the class of the given object, format and context.
File
-
vendor/
symfony/ serializer/ Normalizer/ AbstractObjectNormalizer.php, line 288
Class
- AbstractObjectNormalizer
- Base class for a normalizer dealing with objects.
Namespace
Symfony\Component\Serializer\NormalizerCode
protected abstract function extractAttributes(object $object, ?string $format = null, array $context = []) : array;