We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f365d42 commit dd5ae7dCopy full SHA for dd5ae7d
1 file changed
src/ConnectionPDO.php
@@ -87,24 +87,4 @@ public function getSchema(): SchemaInterface
87
88
return $this->schema;
89
}
90
-
91
- /**
92
- * Initializes the DB connection.
93
- *
94
- * This method is invoked right after the DB connection is established.
95
96
- * The default implementation turns on `PDO::ATTR_EMULATE_PREPARES`.
97
98
- * if {@see emulatePrepare} is true, and sets the database {@see charset} if it is not empty.
99
100
- * It then triggers an {@see EVENT_AFTER_OPEN} event.
101
- */
102
- protected function initConnection(): void
103
- {
104
- if ($this->getEmulatePrepare() !== null) {
105
- $this->driver->attributes([PDO::ATTR_EMULATE_PREPARES => $this->getEmulatePrepare()]);
106
- }
107
108
- $this->pdo = $this->driver->createConnection();
109
110
0 commit comments