which is the correct way to document class constants for phpDoc? I've read the manual but i can't find anything about them
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I'm fairly sure that you can use |
|||||||||
|
Constants only need a docblock that contains the description. No specific tag is necessary. The code parser itself identifies constants and displays them as such in the generated documentation (here's an example). |
|||||||||
|