| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 19 | public function createConnection(): ConnectionInterface |
||
| 20 | { |
||
| 21 | $pdoDriver = new Driver($this->dsn, $this->username, $this->password); |
||
| 22 | $pdoDriver->charset($this->charset); |
||
| 23 | $pdoDriver->attributes([PDO::ATTR_STRINGIFY_FETCHES => true]); |
||
| 24 | |||
| 25 | return new Connection($pdoDriver, $this->createSchemaCache()); |
||
| 26 | } |
||
| 28 |