Свойство | Тип | Описание | |
---|---|---|---|
$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 ( ) : |
||
Результат |