src/Leevel/Router/Router.php
protected function annotationRouterBind(array $dataPathInfo)
    {
        $data = $this->normalizeMatchedData('Annotation');

        if (!$data) {
            $data = $dataPathInfo;
        } else {
            $this->initRequest();
        }

        $this->resolveMatchedData($data);

        return $this->findRouterBind();
    }
protected function annotationRouterBind(array $dataPathInfo)
    {
        $data = $this->normalizeMatchedData('Annotation');

        if (!$data) {
            $data = $dataPathInfo;
        } else {
            $this->initRequest();
        }

        $this->resolveMatchedData($data);

        return $this->findRouterBind();
    }
注解路由绑定.

@param array $dataPathInfo

@return mixed