You are here

public function Client::restart in Zircon Profile 8

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

Restarts the client.

It flushes history and all cookies.

File

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

Class

Client
Client simulates a browser.

Namespace

Symfony\Component\BrowserKit

Code

public function restart() {
  $this->cookieJar
    ->clear();
  $this->history
    ->clear();
}