Propel 2 API
Interface

Propel\Runtime\Connection\ConnectionManagerInterface

interface ConnectionManagerInterface

Methods

setName(string $name)

string getName()

ConnectionInterface getWriteConnection(AdapterInterface $adapter = null)

ConnectionInterface getReadConnection(AdapterInterface $adapter = null)

closeConnections()

Details

at line 20
public setName(string $name)

Parameters

string $name The datasource name associated to this connection

at line 25
public string getName()

Return Value

string The datasource name associated to this connection

at line 32
public ConnectionInterface getWriteConnection(AdapterInterface $adapter = null)

Parameters

AdapterInterface $adapter

Return Value

ConnectionInterface

at line 39
public ConnectionInterface getReadConnection(AdapterInterface $adapter = null)

Parameters

AdapterInterface $adapter

Return Value

ConnectionInterface

at line 41
public closeConnections()