bindSoftDependencies -> bindContainerObjects

This commit is contained in:
Samuel Georges 2015-02-21 12:03:50 +11:00
parent 3d898c6bde
commit cf9231466c
2 changed files with 4 additions and 4 deletions

View File

@ -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');
}

View File

@ -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');