DbPlatformFactoryInterface
DbPlatformFactoryInterface.php
:
13
Methods¶
createDatabasePlatformFromDriverName() ¶
DbPlatformFactoryInterface.php
:
27
Create instance of Doctrine AbstractPlatform for the given driver name.
|
|
Factory can return null, which means that the Driver should decide.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$driverName | string | - |
(e.g. 'pdo_mysql', 'pdo_pgsql', 'pdo_sqlite'). |
Return values
AbstractPlatform|null
if null - let the Driver decide