src/Leevel/Kernel/Utils/Doc.php
protected function parseMethodContents(ReflectionClass $reflection): string
    {
        $markdown = '';

        foreach ($reflection->getMethods() as $method) {
            if (!$this->isMethodNeedParsed($method)) {
                continue;
            }

            $markdown .= $this->parseMethodContent($method);
        }

        return $markdown;
    }
protected function parseMethodContents(ReflectionClass $reflection): string
    {
        $markdown = '';

        foreach ($reflection->getMethods() as $method) {
            if (!$this->isMethodNeedParsed($method)) {
                continue;
            }

            $markdown .= $this->parseMethodContent($method);
        }

        return $markdown;
    }
解析所有方法注解内容.

@param \ReflectionClass $reflection

@return string