在Doxygen中记录PHP类常量

What is the correct way to document PHP class constants with Doxygen ?

class Myclass {

    /**
     * What should I put here ?
     */
    const MY_CONST = 'value';
}

Based on Doxygen tag list and some answers here on SO, I've tried the following :

  • @var string MY_CONST + @brief description (like I would do for a regular member)
  • @brief description (alone)
  • @def MY_CONST description
  • @const MY_CONST description (not in the tag list, but apparently this works in PHPDoc, so it was worth a try...)

None of these worked, the constant is not documented by Doxygen. What is the correct syntax ?

EDIT : this question marked as potential duplicate explains how to document global constants created with define(). As I said above, neither the @def syntax nor the brief description alone work for class constants created with "const" keyword.