src/Leevel/Kernel/Utils/Doc.php
public function handle(string $className): string
    {
        $this->lines = $this->parseFileContnet($reflection = new ReflectionClass($className));

        if (!($markdown = $this->parseClassContent($reflection))) {
            return '';
        }

        $markdown .= $this->parseMethodContents($reflection);

        return $markdown;
    }
public function handle(string $className): string
    {
        $this->lines = $this->parseFileContnet($reflection = new ReflectionClass($className));

        if (!($markdown = $this->parseClassContent($reflection))) {
            return '';
        }

        $markdown .= $this->parseMethodContents($reflection);

        return $markdown;
    }
解析文档.

@param string $className

@return string