| spoof
    | 

| Static Public Member Functions | |
| static | add (IConnection $conn, $name) | 
| static | getByName ($name, $connect=TRUE) | 
| static | closeAll () | 
Database connection pool interface. This interface is used to define database connection pool.
| 
 | static | 
Adds the specified connection to the connection pool and assigns the specified alias.
| IConnection | $conn | database connection object | 
| string | $name | name alias for the connection | 
| \InvalidArgumentException | when supplied alias already exists | 
Implemented in Pool.
| 
 | static | 
Closes all active connections in the pool.
Implemented in Pool.
| 
 | static | 
Retrieves previously stored database connection object by its alias.
| string | $name | connection name | 
| boolean | $connect | if TRUE and not yet connected the database connection will be attempted, default TRUE | 
| \InvalidArgumentException | when supplied alias is not found in the pool | 
Implemented in Pool.