bindSoftDependencies -> bindContainerObjects
This commit is contained in:
parent
3d898c6bde
commit
cf9231466c
|
|
@ -66,7 +66,7 @@ class PluginManager
|
|||
*/
|
||||
protected function init()
|
||||
{
|
||||
$this->bindSoftDependencies();
|
||||
$this->bindContainerObjects();
|
||||
$this->metaFile = storage_path() . '/cms/disabled.json';
|
||||
$this->loadDisabled();
|
||||
$this->loadPlugins();
|
||||
|
|
@ -78,7 +78,7 @@ class PluginManager
|
|||
* the IoC container reboots. This provides a way to rebuild
|
||||
* for the purposes of unit testing.
|
||||
*/
|
||||
public function bindSoftDependencies()
|
||||
public function bindContainerObjects()
|
||||
{
|
||||
$this->app = App::make('app');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ class UpdateManager
|
|||
$this->tempDirectory = temp_path();
|
||||
$this->baseDirectory = base_path();
|
||||
$this->disableCoreUpdates = Config::get('cms.disableCoreUpdates', false);
|
||||
$this->bindSoftDependencies();
|
||||
$this->bindContainerObjects();
|
||||
|
||||
/*
|
||||
* Ensure temp directory exists
|
||||
|
|
@ -93,7 +93,7 @@ class UpdateManager
|
|||
* the IoC container reboots. This provides a way to rebuild
|
||||
* for the purposes of unit testing.
|
||||
*/
|
||||
public function bindSoftDependencies()
|
||||
public function bindContainerObjects()
|
||||
{
|
||||
$this->migrator = App::make('migrator');
|
||||
$this->repository = App::make('migration.repository');
|
||||
|
|
|
|||
Loading…
Reference in New Issue