Created
September 19, 2018 17:19
-
-
Save DarkGhostHunter/adcde0d9a861f17e900c78bb8c424fce to your computer and use it in GitHub Desktop.
Illuminate\Database\DatabaseServiceProvider@boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Bootstrap the application events. | |
* | |
* @return void | |
*/ | |
public function boot() | |
{ | |
Model::setConnectionResolver($this->app['db']); | |
Model::setEventDispatcher($this->app['events']); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment