src/Helpers/ReflectionHelper.php
protected static function getClassDoc($object, $parseMethod = 'parseDocCommentSummary')
    {
        try {
            $reflection = new \ReflectionClass($object);
            $docData = static::$parseMethod($reflection);
        } catch (\ReflectionException $exception) {
            $docData = null;
        }
        return $docData;
    }
protected static function getClassDoc($object, $parseMethod = 'parseDocCommentSummary')
    {
        try {
            $reflection = new \ReflectionClass($object);
            $docData = static::$parseMethod($reflection);
        } catch (\ReflectionException $exception) {
            $docData = null;
        }
        return $docData;
    }
Get class PHPDoc parsed
@param object $object
@param string $parseMethod
@return string|array|null