Documentation

ConnectionManager
in package

Connection manager class to manage connections for the Query method

Table of Contents

__clone()  : void
Private clone method to prevent cloning
__sleep()  : mixed
Prevent serialization of this object
__wakeup()  : void
Make sure serialize/deserialize doesn't work
connect()  : QueryBuilderInterface
Parse the passed parameters and return a connection
getConnection()  : QueryBuilderInterface
Returns the connection specified by the name given
getInstance()  : ConnectionManager
Return a connection manager instance
parseParams()  : array<string|int, mixed>
Parses params into a dsn and option array

Methods

__clone()

Private clone method to prevent cloning

public __clone() : void
Tags
throws
DomainException
Return values
void

__sleep()

Prevent serialization of this object

public __sleep() : mixed
Tags
throws
DomainException
Return values
mixed

__wakeup()

Make sure serialize/deserialize doesn't work

public __wakeup() : void
Tags
throws
DomainException
Return values
void

parseParams()

Parses params into a dsn and option array

public parseParams(array<string|int, mixed>|object $rawParams) : array<string|int, mixed>
Parameters
$rawParams : array<string|int, mixed>|object
Tags
throws
BadDBDriverException
Return values
array<string|int, mixed>

        

Search results