mercredi 13 mai 2015

can you get metadata of a PHP method with reflection classes?

I'd like to retreive custom meta data at runtime from a PHP method like this:

/** description of function
 * @myCustomMetaData value
*/
function x($a,$b) { ... }

But it seems the PHP Reflection classes do not support this and I can't find any related questions about it. Is it simply not possible?





Aucun commentaire:

Enregistrer un commentaire