PHP 클래스 Jarves\Configuration\Database

상속: extends Model
파일 보기 프로젝트 열기: jarves/jarves

보호된 프로퍼티들

프로퍼티 타입 설명
$connections Connection[]
$docBlocks

공개 메소드들

메소드 설명
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 )

메소드 상세

addConnection() 공개 메소드

public addConnection ( Connection $connection )
$connection Connection

getConnections() 공개 메소드

public getConnections ( ) : Connection[]
리턴 Connection[]

getMainConnection() 공개 메소드

Returns a writeable/master connection.
public getMainConnection ( ) : Connection
리턴 Connection

getSlaveConnections() 공개 메소드

public getSlaveConnections ( ) : Connection[]
리턴 Connection[]

hasSlaveConnection() 공개 메소드

public hasSlaveConnection ( ) : boolean
리턴 boolean

isValid() 공개 메소드

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

setConnections() 공개 메소드

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

프로퍼티 상세

$connections 보호되어 있는 프로퍼티

protected Connection[],Jarves\Configuration $connections
리턴 Connection[]

$docBlocks 보호되어 있는 프로퍼티

protected $docBlocks