You are here

public function Session::getCookie in Zircon Profile 8

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

Returns cookie by name.

Parameters

string $name:

Return value

string|null

File

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

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function getCookie($name) {
  return $this->driver
    ->getCookie($name);
}