Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/8.x' into 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Apr 21, 2021
2 parents c35631b + 35a9d36 commit 62c8fc0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Illuminate/Database/DatabaseManager.php
Expand Up @@ -359,6 +359,19 @@ public function setReconnector(callable $reconnector)
$this->reconnector = $reconnector;
}

/**
* Set the application instance used by the manager.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return $this
*/
public function setApplication($app)
{
$this->app = $app;

return $this;
}

/**
* Dynamically pass methods to the default connection.
*
Expand Down

0 comments on commit 62c8fc0

Please sign in to comment.