MySqlConnector
MySqlConnector
Establish a Database Connection.
- Full name: \Gibbon\Database\MySqlConnector
Methods
- connect — Establish a database connection.
- useDatabase
connect
Establish a database connection.
MySqlConnector::connect( array $config ): \PDO
Return Value:
\PDO
useDatabase
MySqlConnector::useDatabase( \Gibbon\Database\Connection $connection, $databaseName )