Doctrine\Common\Reflection\StaticReflectionParser::getDocComment
Get docComment.
Signature
public function getDocComment([string
$type = 'class',
[string
$name = '']] )
Parameters
$type
— string- class, property or method.
$name
— string- Name of the property or method, not needed for class.
Returns
- string
- the doc comment or empty string if none.