Neos\Flow\ObjectManagement\Proxy\ProxyClass::buildClassDocumentation PHP Method

buildClassDocumentation() protected method

Builds the class documentation block for the specified class keeping doc comments and vital annotations
protected buildClassDocumentation ( ) : string
return string $methodDocumentation DocComment for the given method
    protected function buildClassDocumentation()
    {
        $classDocumentation = "/**\n";
        $classReflection = new ClassReflection($this->fullOriginalClassName);
        $classDescription = $classReflection->getDescription();
        $classDocumentation .= ' * ' . str_replace("\n", "\n * ", $classDescription) . "\n";
        foreach ($this->reflectionService->getClassAnnotations($this->fullOriginalClassName) as $annotation) {
            $classDocumentation .= ' * ' . Compiler::renderAnnotation($annotation) . "\n";
        }
        $classDocumentation .= " */\n";
        return $classDocumentation;
    }