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} |
리턴 | string[] | Symfony\Component\Serializer\Mapping\AttributeMetadataInterface[] | boolean |
/** * {@inheritdoc} */ public function getAllowedAttributes($classOrObject, array $context, $attributesAsString = false) { return parent::getAllowedAttributes($classOrObject, $context, $attributesAsString); }