| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected function createConnection($driver, $connection, $database, $prefix = '', array $config = []) |
||
| 24 | { |
||
| 25 | switch ($driver) { |
||
| 26 | case 'sw-co-mysql': |
||
| 27 | return new CoroutineMySQLConnection($connection, $database, $prefix, $config); |
||
| 28 | } |
||
| 29 | return parent::createConnection($driver, $connection, $database, $prefix, $config); |
||
| 30 | } |
||
| 31 | } |