-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Description
Currently there is a method AnnotationBag::getAsArray()
That's very convenient when we want to make sure to retrieve an array.
What's about adding a method
AnnotationBag::getAsString() or AnnotationBag::getAsRawString()
to get the annotation value as a string. Even if it's in array or object annotation,
we sometime want to get this value as the raw original string.
We could do that by changing the parser. But sometime we can need both of the ouput
depending on the annotation name.
What's your opinion ?
Reactions are currently unavailable