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 :
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.