added config example in provider stub
This commit is contained in:
@ -17,6 +17,7 @@ class $NAME$ extends Provider
|
||||
$this->loadTranslations();
|
||||
$this->loadMigrations();
|
||||
$this->loadFactories();
|
||||
//$this->loadConfig();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -73,6 +74,16 @@ class $NAME$ extends Provider
|
||||
$this->loadFactoriesFrom(__DIR__ . '/../$FACTORIES_PATH$');
|
||||
}
|
||||
|
||||
/**
|
||||
* Load config.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function loadConfig()
|
||||
{
|
||||
$this->mergeConfigFrom(__DIR__ . '/../$PATH_CONFIG$/config.php', '$ALIAS$');
|
||||
}
|
||||
|
||||
/**
|
||||
* Load routes.
|
||||
*
|
||||
|
Reference in New Issue
Block a user