You are here

public function CoreDriver::setSession in Zircon Profile 8.0

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

Sets driver's current session.

Parameters

Session $session:

Overrides DriverInterface::setSession

1 method overrides CoreDriver::setSession()
BasePhantomJSDriver::setSession in vendor/jcalderonzumba/mink-phantomjs-driver/src/BasePhantomJSDriver.php

File

vendor/behat/mink/src/Driver/CoreDriver.php, line 33

Class

CoreDriver
Core driver. All other drivers should extend this class for future compatibility.

Namespace

Behat\Mink\Driver

Code

public function setSession(Session $session) {
  $this->session = $session;
}