Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer::extractAttributes PHP Method

extractAttributes() abstract protected method

Extracts attributes to normalize from the class of the given object, format and context.
abstract protected extractAttributes ( object $object, string | null $format = null, array $context = [] ) : string[]
$object object
$format string | null
$context array
return string[]
    protected abstract function extractAttributes($object, $format = null, array $context = array());