PHP Class Jarves\Configuration\Database

Inheritance: extends Model
Afficher le fichier Open project: jarves/jarves

Protected Properties

Свойство Type Description
$connections Connection[]
$docBlocks

Méthodes publiques

Méthode Description
addConnection ( Connection $connection )
getConnections ( ) : Connection[]
getMainConnection ( ) : Connection Returns a writeable/master connection.
getSlaveConnections ( ) : Connection[]
hasSlaveConnection ( ) : boolean
isValid ( ) Checks if a connection is configured and it contains valid values.
setConnections ( array $connections = null )

Method Details

addConnection() public méthode

public addConnection ( Connection $connection )
$connection Connection

getConnections() public méthode

public getConnections ( ) : Connection[]
Résultat Connection[]

getMainConnection() public méthode

Returns a writeable/master connection.
public getMainConnection ( ) : Connection
Résultat Connection

getSlaveConnections() public méthode

public getSlaveConnections ( ) : Connection[]
Résultat Connection[]

hasSlaveConnection() public méthode

public hasSlaveConnection ( ) : boolean
Résultat boolean

isValid() public méthode

Checks if a connection is configured and it contains valid values.
public isValid ( )

setConnections() public méthode

public setConnections ( array $connections = null )
$connections array

Property Details

$connections protected_oe property

protected Connection[],Jarves\Configuration $connections
Résultat Connection[]

$docBlocks protected_oe property

protected $docBlocks