Bug in reflector annotation?
Notice: This thread is very old.
- David Matějka
- Moderator | 6445
it's not a bug, nette annotation parser from nette/reflection just does not support any complex structure.
btw, nette/reflection has been deprected. for advanced annotation parsing I would recommend you doctrine/annotations.
but it could be sufficient for you to parse the annotation using some simple regex like this (but do not use this function directly, it is internal so it may be changed/removed in the future) and then decode the content using NEON