You are here

public function Mink::__construct in Zircon Profile 8

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

Initializes manager.

Parameters

Session[] $sessions:

File

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

Class

Mink
Mink sessions manager.

Namespace

Behat\Mink

Code

public function __construct(array $sessions = array()) {
  foreach ($sessions as $name => $session) {
    $this
      ->registerSession($name, $session);
  }
}