phpDoc class constants documentation

Viewed 19832

How do I document class constants for phpDoc? I've read the manual but I can't find anything about them.

3 Answers

The full list of all PHPDoc 3 tags: Tag reference

The manual says the following:

@var

You may use the @var tag to document the Type of the following Structural Elements:

  • Constants, both class and global scope
  • Properties
  • Variables, both global and local scope
Related