Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public function buildDriver(array $config): Definition |
||
43 | { |
||
44 | if (!class_exists(BrowserKitDriver::class)) { |
||
45 | throw new \RuntimeException('Install "friends-of-behat/mink-browserkit-driver" (drop-in replacement for "behat/mink-browserkit-driver") in order to use the "symfony" driver.'); |
||
46 | } |
||
47 | |||
48 | return new Definition(SymfonyDriver::class, [ |
||
49 | $this->kernel, |
||
50 | '%mink.base_url%', |
||
51 | ]); |
||
52 | } |
||
53 | } |
||
54 |