You are here

public function Session::setCookie in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Session.php \Behat\Mink\Session::setCookie()

Sets cookie.

Parameters

string $name:

string $value:

File

vendor/behat/mink/src/Session.php, line 205

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function setCookie($name, $value = null) {
  $this->driver
    ->setCookie($name, $value);
}