You are here

protected function Client::filterResponse in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-kernel/Client.php \Symfony\Component\HttpKernel\Client::filterResponse()
  2. 8 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::filterResponse()
  3. 8 vendor/behat/mink-goutte-driver/src/Goutte/Client.php \Behat\Mink\Driver\Goutte\Client::filterResponse()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::filterResponse()

Filters the origin response to the BrowserKit one.

Parameters

object $response The origin response to filter:

Return value

Response An BrowserKit Response instance

2 calls to Client::filterResponse()
Client::filterResponse in vendor/behat/mink-goutte-driver/src/Goutte/Client.php
Reads response meta tags to guess content-type charset.
Client::request in vendor/symfony/browser-kit/Client.php
Calls a URI.
3 methods override Client::filterResponse()
Client::filterResponse in vendor/symfony/http-kernel/Client.php
Converts the HttpKernel response to a BrowserKit response.
Client::filterResponse in vendor/behat/mink-goutte-driver/src/Goutte/Client.php
Reads response meta tags to guess content-type charset.
TestClient::filterResponse in vendor/symfony/browser-kit/Tests/ClientTest.php
Filters the origin response to the BrowserKit one.

File

vendor/symfony/browser-kit/Client.php, line 380

Class

Client
Client simulates a browser.

Namespace

Symfony\Component\BrowserKit

Code

protected function filterResponse($response) {
  return $response;
}