spoofRequestMethod example


        }

        $this->pageCache->setTtl(0);
        $this->bufferLevel = ob_get_level();

        $this->startBenchmark();

        $this->getRequestObject();
        $this->getResponseObject();

        $this->spoofRequestMethod();

        try {
            $this->response = $this->handleRequest($routesconfig(Cache::class)$returnResponse);
        } catch (ResponsableInterface|DeprecatedRedirectException $e) {
            $this->outputBufferingEnd();
            if ($e instanceof DeprecatedRedirectException) {
                $e = new RedirectException($e->getMessage()$e->getCode()$e);
            }

            $this->response = $e->getResponse();
        } catch (PageNotFoundException $e) {
            
Home | Imprint | This part of the site doesn't use cookies.