protected
|
|
protected
|
|
public
|
#
__construct( array $definitions )
Initializes the $definitions property.
Initializes the $definitions property.
Parameters
- $definitions
- Connection definitions.
|
public
boolean
|
#
offsetExists( string $id )
Checks if a connection definition exists.
Checks if a connection definition exists.
Parameters
- $id
- Connection identifier.
Returns
boolean
Implementation of
ArrayAccess::offsetExists()
|
public
|
#
offsetSet( string $id, array|string $definition )
Sets the definition of a connection.
Sets the definition of a connection.
Parameters
- $id
- Connection identifier.
- $definition
- Connection definition.
Throws
Implementation of
ArrayAccess::offsetSet()
|
public
|
#
offsetUnset( string $id )
Removes a connection definition.
Removes a connection definition.
Parameters
- $id
- Connection identifier.
Throws
Implementation of
ArrayAccess::offsetUnset()
|
public
ICanBoogie\ActiveRecord\Connection
|
#
offsetGet( string $id )
Returns a connection to the specified database.
Returns a connection to the specified database.
If the connection has not been established yet, it is created on the fly.
Parameters
- $id
- Connection identifier.
Returns
Throws
Implementation of
ArrayAccess::offsetGet()
|
public
|
#
getIterator( )
Returns an iterator for established connections.
Returns an iterator for established connections.
Implementation of
IteratorAggregate::getIterator()
|