private function getDocComment($classReflector)
    {
        $commentString = $classReflector->getDocComment();

        if (!$commentString) {
            $startline = $classReflector->getStartLine();
            $fileLines = file($classReflector->getFileName());
            $lineNumber = $startline - 1;
            while (isset($fileLines[$lineNumber]) && substr($fileLines[$lineNumber], 0, 3) != '/**') {
                $lineNumber--;
            }
            $commentString = join(array_slice($fileLines, $lineNumber));
        }

        return $commentString;
    }
private function getDocComment($classReflector)
    {
        $commentString = $classReflector->getDocComment();

        if (!$commentString) {
            $startline = $classReflector->getStartLine();
            $fileLines = file($classReflector->getFileName());
            $lineNumber = $startline - 1;
            while (isset($fileLines[$lineNumber]) && substr($fileLines[$lineNumber], 0, 3) != '/**') {
                $lineNumber--;
            }
            $commentString = join(array_slice($fileLines, $lineNumber));
        }

        return $commentString;
    }
private function getDocComment ( $ classReflector ) { $ commentString = $ classReflector -> getDocComment ( ) ; if ( ! $ commentString ) { $ startline = $ classReflector -> getStartLine ( ) ; $ fileLines = file ( $ classReflector -> getFileName ( ) ) ; $ lineNumber = $ startline - 1 ; while ( isset ( $ fileLines [ $ lineNumber ] ) && substr ( $ fileLines [ $ lineNumber ] , 0 , 3 ) != '/**' ) { $ lineNumber -- ; } $ commentString = join ( array_slice ( $ fileLines , $ lineNumber ) ) ; } return $ commentString ; }
Get the class doccomment from the reflector or from the source file.
@return str
Get the class doccomment from the reflector or from the source file .