class ConnectionFactory (View source)

Connection

Methods

__construct(array $typesConfig)

Construct.

Connection
createConnection(array $params, Configuration $config = null, EventManager $eventManager = null, array $mappingTypes = [])

Create a connection by name.

Details

__construct(array $typesConfig)

Construct.

Parameters

array $typesConfig

Connection createConnection(array $params, Configuration $config = null, EventManager $eventManager = null, array $mappingTypes = [])

Create a connection by name.

Parameters

array $params
Configuration $config
EventManager $eventManager
array $mappingTypes

Return Value

Connection