src/PHPDish/Component/Pjax/EventListener/KernelResponseListener.php
protected function filterResponse(Request $request, Response $response)
    {
        $crawler = new Crawler($response->getContent());
        $body = $this->fetchBody($crawler, $this->pjaxHelper->getContainer($request));
        $response->setContent($this->makeTitle($crawler) . $body);
    }
protected function filterResponse(Request $request, Response $response)
    {
        $crawler = new Crawler($response->getContent());
        $body = $this->fetchBody($crawler, $this->pjaxHelper->getContainer($request));
        $response->setContent($this->makeTitle($crawler) . $body);
    }
过滤 response
@param Request $request
@param Response $response