src/Core/Annotate.php
public function parse($annotate = '')
    {
        if (empty($annotate)) {
            return array();
        }

        $flag = preg_match_all("/@{$this->prefix}(.*?)\s+(.*)/", $annotate, $content);
        if (!$flag) {
            return array();
        }

        $configs = array_combine($content[1], $content[2]);
        return $this->parseAnnotate($configs);
    }
public function parse($annotate = '')
    {
        if (empty($annotate)) {
            return array();
        }

        $flag = preg_match_all("/@{$this->prefix}(.*?)\s+(.*)/", $annotate, $content);
        if (!$flag) {
            return array();
        }

        $configs = array_combine($content[1], $content[2]);
        return $this->parseAnnotate($configs);
    }
注释配置转换为数组

@param string $annotate
@return array