You are here

public function Mink::hasSession in Zircon Profile 8

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

Checks whether session with specified name is registered.

Parameters

string $name:

Return value

Boolean

File

vendor/behat/mink/src/Mink.php, line 69

Class

Mink
Mink sessions manager.

Namespace

Behat\Mink

Code

public function hasSession($name) {
  return isset($this->sessions[strtolower($name)]);
}