src/ReflectionFileNamespace.php
public function getDocComment()
    {
        $docComment = false;
        $comments   = $this->namespaceNode->getAttribute('comments');

        if ($comments) {
            $docComment = (string)$comments[0];
        }

        return $docComment;
    }
public function getDocComment()
    {
        $docComment = false;
        $comments   = $this->namespaceNode->getAttribute('comments');

        if ($comments) {
            $docComment = (string)$comments[0];
        }

        return $docComment;
    }
public function getDocComment ( ) { $ docComment = false ; $ comments = $ this -> namespaceNode -> getAttribute ( 'comments' ) ; if ( $ comments ) { $ docComment = ( string ) $ comments [ 0 ] ; } return $ docComment ; }
Gets doc comments from a class.

@return string|false The doc comment if it exists, otherwise "false"
Gets doc comments from a class .