Man Page: reflectionclass.getdoccomment
Operating Environment: php
Section: 3
REFLECTIONCLASS.GETDOCCOMMENT(3) 1 REFLECTIONCLASS.GETDOCCOMMENT(3) ReflectionClass::getDocComment - Gets doc commentsSYNOPSISpublic string ReflectionClass::getDocComment (void )DESCRIPTIONGets doc comments from a class. Warning This function is currently not documented; only its argument list is available.PARAMETERSThis function has no parameters.RETURN VALUESThe doc comment if it exists, otherwise FALSEEXAMPLESExample #1 ReflectionClass::getDocComment example <?php /** * A test class * * @param foo bar * @return baz */ class TestClass { } $rc = new ReflectionClass('TestClass'); var_dump($rc->getDocComment()) ?> The above example will output: string(55) "/** * A test class * * @param foo bar * @return baz */"SEE ALSOReflectionClass::getName. PHP Documentation Group REFLECTIONCLASS.GETDOCCOMMENT(3)