public function getParentRequest()
    {
        if ($this->request === null || $this->request->isMainRequest()) {
            return new RequestMatcher();
        }
        $this->addWeight(1000000);
        return new RequestMatcher($this->request->getParentRequest(), $this);
    }