public function Mink::stopSessions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Mink.php \Behat\Mink\Mink::stopSessions()
Stops all started sessions.
1 call to Mink::stopSessions()
- Mink::__destruct in vendor/
behat/ mink/ src/ Mink.php - Stops all started sessions.
File
- vendor/
behat/ mink/ src/ Mink.php, line 182
Class
- Mink
- Mink sessions manager.
Namespace
Behat\MinkCode
public function stopSessions() {
foreach ($this->sessions as $session) {
if ($session
->isStarted()) {
$session
->stop();
}
}
}