ReflectionClass::getDocComment

( excerpt from http://php.net/manual/en/reflectionclass.getdoccomment.php )

public function getDocComment(): mixed;

Gets doc comments from a class. Warning: This function is currently not documented; only its argument list is available.

Returns

  • mixed - The doc comment if it exists, otherwise FALSE