Gets attributes to normalize using groups.
protected getAllowedAttributes ( string | object $classOrObject, array $context, boolean $attributesAsString = false ) : string[] | Symfony\Component\Serializer\Mapping\AttributeMetadataInterface[] | boolean | ||
$classOrObject | string | object | |
$context | array | |
$attributesAsString | boolean | If false, return an array of {@link AttributeMetadataInterface} |
return | string[] | Symfony\Component\Serializer\Mapping\AttributeMetadataInterface[] | boolean |