public function GoutteDriver::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink-goutte-driver/src/GoutteDriver.php \Behat\Mink\Driver\GoutteDriver::__construct()
Initializes Goutte driver.
Parameters
Client $client Goutte client instance:
Overrides BrowserKitDriver::__construct
File
- vendor/
behat/ mink-goutte-driver/ src/ GoutteDriver.php, line 28
Class
- GoutteDriver
- Goutte driver.
Namespace
Behat\Mink\DriverCode
public function __construct(Client $client = null) {
parent::__construct($client ?: new ExtendedClient());
}