We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf25e1 commit 35a9d36Copy full SHA for 35a9d36
src/Illuminate/Database/DatabaseManager.php
@@ -359,6 +359,19 @@ public function setReconnector(callable $reconnector)
359
$this->reconnector = $reconnector;
360
}
361
362
+ /**
363
+ * Set the application instance used by the manager.
364
+ *
365
+ * @param \Illuminate\Contracts\Foundation\Application $app
366
+ * @return $this
367
+ */
368
+ public function setApplication($app)
369
+ {
370
+ $this->app = $app;
371
+
372
+ return $this;
373
+ }
374
375
/**
376
* Dynamically pass methods to the default connection.
377
*
0 commit comments