You are here

public function Client::followRedirects in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::followRedirects()

Sets whether to automatically follow redirects or not.

Parameters

bool $followRedirect Whether to follow redirects:

File

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

Class

Client
Client simulates a browser.

Namespace

Symfony\Component\BrowserKit

Code

public function followRedirects($followRedirect = true) {
  $this->followRedirects = (bool) $followRedirect;
}