Skip to content

Commit a9e9be4

Browse files
authored
adds config property to MultipleInstanceManager (#52028)
1 parent 38558d9 commit a9e9be4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Illuminate/Support/MultipleInstanceManager.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ abstract class MultipleInstanceManager
1515
*/
1616
protected $app;
1717

18+
/**
19+
* The configuration repository instance.
20+
*
21+
* @var \Illuminate\Contracts\Config\Repository
22+
*/
23+
protected $config;
24+
1825
/**
1926
* The array of resolved instances.
2027
*
@@ -45,6 +52,7 @@ abstract class MultipleInstanceManager
4552
public function __construct($app)
4653
{
4754
$this->app = $app;
55+
$this->config = $app->make('config');
4856
}
4957

5058
/**

0 commit comments

Comments
 (0)