You are here

public function Mink::resetSessions in Zircon Profile 8.0

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

Resets all started sessions.

File

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

Class

Mink
Mink sessions manager.

Namespace

Behat\Mink

Code

public function resetSessions() {
  foreach ($this->sessions as $session) {
    if ($session
      ->isStarted()) {
      $session
        ->reset();
    }
  }
}