Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37fe941 commit f972cfaCopy full SHA for f972cfa
1 file changed
src/Illuminate/Remote/RemoteManager.php
@@ -12,13 +12,6 @@ class RemoteManager {
12
*/
13
protected $app;
14
15
- /**
16
- * The active connection instances.
17
- *
18
- * @var array
19
- */
20
- protected $connections = array();
21
-
22
/**
23
* Create a new remote manager instance.
24
*
@@ -91,12 +84,7 @@ public function multiple(array $names)
91
84
92
85
public function resolve($name)
93
86
{
94
- if ( ! isset($this->connections[$name]))
95
- {
96
- $this->connections[$name] = $this->makeConnection($name, $this->getConfig($name));
97
- }
98
99
- return $this->connections[$name];
87
+ return $this->makeConnection($name, $this->getConfig($name));
100
88
}
101
89
102
90
0 commit comments