@@ -7,6 +7,11 @@ |
||
| 7 | 7 | $this->connection = []; |
| 8 | 8 | $this->currentConnection = null; |
| 9 | 9 | } |
| 10 | + |
|
| 11 | + /** |
|
| 12 | + * @param string $_name |
|
| 13 | + * @param Connection|null $_connection |
|
| 14 | + */ |
|
| 10 | 15 | public function addConnection( $_name, $_connection ) { |
| 11 | 16 | $this->connection["$_name"] = $_connection; |
| 12 | 17 | $this->currentConnection = $_connection; |