Query\ConnectionManager::parse_params
Parses params into a dsn and option array
Signature
public function parse_params(stdClass
$params )
Parameters
$params
—
\stdClass
Returns
- array
Errors/Exceptions
-
BadDBDriverException
Test Coverage
Information
- Coverage: 20/21 Lines (95.238095238095%)
- Tests: 8
- Passed: 8 (100%)
Tests
- [ PASSED ] — Connection_Manager_Test::testParseParams
- [ PASSED ] — Connection_Manager_Test::testConnect
- [ PASSED ] — Connection_Manager_Test::testGetConnection
- [ PASSED ] — MySQLQBTest::testBadDriver
- [ PASSED ] — PgSQLQBTest::testBadDriver
- [ PASSED ] — SQLiteQBTest::testBadDriver
- [ PASSED ] — FirebirdQBTest::testGetNamedConnection
- [ PASSED ] — FirebirdQBTest::testBadDriver