Doctrine\DBAL\Driver
Driver interface.
Interface that all DBAL drivers must implement.
Synopsis
interface Driver
{
- // methods
- public Connection connect()
- public AbstractPlatform getDatabasePlatform()
- public AbstractSchemaManager getSchemaManager()
- public string getName()
- public string getDatabase()
Methods
public
- connect() — Attempts to create a connection with the database.
- getDatabase() — Get the name of the database connected to for this driver.
- getDatabasePlatform() — Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
- getName() — Gets the name of the driver.
- getSchemaManager() — Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.