Query\ConnectionManager
Connection manager class to manage connections for the Query method
Synopsis
class ConnectionManager
{
- // methods
- public void __clone()
- public void __sleep()
- public void __wakeup()
- public static ConnectionManager getInstance()
- public QueryBuilderInterface getConnection()
- public QueryBuilderInterface connect()
- public array parseParams()
Methods
public
- __clone() — Private clone method to prevent cloning
- __sleep() — Prevent serialization of this object
- __wakeup() — Make sure serialize/deserialize doesn't work
- connect() — Parse the passed parameters and return a connection
- getConnection() — Returns the connection specified by the name given
- getInstance() — Return a connection manager instance
- parseParams() — Parses params into a dsn and option array