Is there any pretty method to get Annotations from class/method as multidimentional array? For example I have annotation's like:
/**
* @First
* @Second({'a'})
* @Third(subValue:{a: 5})
*/
And I want to get sth like:
[
"First" => null,
"Second" => [
'a'
],
"Third" => [
'subValue' => [
5
]
]
];
Aucun commentaire:
Enregistrer un commentaire