프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$connections | SplQueue | Opened connections. |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructs a connection pool. | |
addConnection ( |
Adds a new connection to the pool. | |
getConnection ( ) : |
Gets a connection from the pool. It will cycle through the existent connections. |
public addConnection ( |
||
$conn | The actual connection that will be added to the pool. | |
리턴 | boolean | Success |
public getConnection ( ) : |
||
리턴 |