protected function fetchContents($crawler, $container)
    {
        $content = $crawler->filter($container);

        if (!$content->count()) {
            abort(422);
        }

        return $this->decodeUtf8HtmlEntities($content->html());
    }
protected function fetchContents($crawler, $container)
    {
        $content = $crawler->filter($container);

        if (!$content->count()) {
            abort(422);
        }

        return $this->decodeUtf8HtmlEntities($content->html());
    }
protected function fetchContents ( $ crawler , $ container ) { $ content = $ crawler -> filter ( $ container ) ; if ( ! $ content -> count ( ) ) { abort ( 422 ) ; } return $ this -> decodeUtf8HtmlEntities ( $ content -> html ( ) ) ; }
Fetch the PJAX-specific HTML from the response.

@param Crawler $crawler
@param string  $container

@return string
Fetch the PJAX - specific HTML from the response .