@@ 84-94 (lines=11) @@ | ||
81 | /** |
|
82 | * @return Connection[] |
|
83 | */ |
|
84 | public function getConnections(): array |
|
85 | { |
|
86 | $this->loadConnections(); |
|
87 | ||
88 | $connections = array(); |
|
89 | foreach ($this->connections->keys() as $name) { |
|
90 | $connections[$name] = $this->connections[$name]; |
|
91 | } |
|
92 | ||
93 | return $connections; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return string[] |
@@ 90-100 (lines=11) @@ | ||
87 | /** |
|
88 | * @return Connection[] |
|
89 | */ |
|
90 | public function getConnections(): array |
|
91 | { |
|
92 | $this->loadConnections(); |
|
93 | ||
94 | $connections = array(); |
|
95 | foreach ($this->connections->keys() as $name) { |
|
96 | $connections[$name] = $this->connections[$name]; |
|
97 | } |
|
98 | ||
99 | return $connections; |
|
100 | } |
|
101 | ||
102 | /** |
|
103 | * @return string[] |