Skip to content

Commit

Permalink
adds config property to MultipleInstanceManager (#52028)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmastech authored Jul 5, 2024
1 parent 38558d9 commit a9e9be4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Illuminate/Support/MultipleInstanceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ abstract class MultipleInstanceManager
*/
protected $app;

/**
* The configuration repository instance.
*
* @var \Illuminate\Contracts\Config\Repository
*/
protected $config;

/**
* The array of resolved instances.
*
Expand Down Expand Up @@ -45,6 +52,7 @@ abstract class MultipleInstanceManager
public function __construct($app)
{
$this->app = $app;
$this->config = $app->make('config');
}

/**
Expand Down

0 comments on commit a9e9be4

Please sign in to comment.