3 ms·
It absolutely shouldn't, but it _can_: https://www.php.net/manual/en/reflectionclass.getdoccomment.php https://www.php.net/manual/en/reflectionclass.getdoccomme
by sfteus 6y ago
It absolutely shouldn't, but it _can_: https://www.php.net/manual/en/reflectionclass.getdoccomment.php https://www.php.net/manual/en/reflectionclass.getdoccomment..... Zend has/had support for parsing this value as well.
I distinctly remember writing a project in PHP that allowed users to create custom reports and flows based on values returned from the data models, and for whatever reason we decided to use PHPDoc tags to determine what routines would be exposed to the public for use in these tools. We of course eventually updated this to use DB definitions instead because it was an asinine idea to need to parse a bundle of models and other files every time you needed to pull in definitions.