How does the documentation of constants in PHP classes impact the use of automatic documentation generators like phpDocumentor?

When constants in PHP classes are not properly documented, it can lead to incomplete or inaccurate documentation generated by tools like phpDocumentor. To ensure that constants are included in the documentation, they should be documented using appropriate annotations in the class definition.

class MyClass {
    /**
     * This is a constant variable.
     */
    const MY_CONSTANT = 'value';
    
    // Rest of the class code...
}