1 | <?php |
||
19 | class ConnectionManager implements ConnectionManagerInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | private $connections = []; |
||
25 | |||
26 | /** |
||
27 | * @inheritdoc |
||
28 | */ |
||
29 | 2 | public function registerConnection(ConnectionInterface $connection, $name = 'default') |
|
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | 3 | public function hasConnection($name) |
|
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | 3 | public function getConnection($name = 'default') |
|
53 | } |