File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Starting with version 0.4.x, PhpDb uses a modular package architecture. The core
1515- Platform abstractions
1616- SQL abstraction layer
1717- Result set handling
18- - Table and Row gateway implementations
18+ - Table/RowGateway implementations
1919
2020Database-specific drivers are provided as separate packages:
2121
@@ -39,7 +39,7 @@ $driver = new Mysql([
3939 'hostname' => 'localhost',
4040]);
4141
42- $adapter = new Adapter($driver, new MysqlPlatform());
42+ $adapter = new Adapter($driver, new MysqlPlatform($driver ));
4343```
4444
4545``` php title="SQLite Connection"
@@ -190,9 +190,6 @@ interface DriverInterface
190190
191191From this ` DriverInterface ` , you can:
192192
193- - Determine the name of the platform this driver supports (useful for choosing
194- the proper platform object)
195- - Check that the environment can support this driver
196193- Return the ` Connection ` instance
197194- Create a ` Statement ` instance which is optionally seeded by an SQL statement
198195 (this will generally be a clone of a prototypical statement object)
You can’t perform that action at this time.
0 commit comments