1
0
Fork 0

add getter for global composer

pull/5129/head
Andrii Vasyliev 2016-03-29 21:21:44 +00:00
parent e8b1a5f357
commit 5b759da174
1 changed files with 10 additions and 0 deletions

View File

@ -90,6 +90,16 @@ class PluginManager
return $this->plugins;
}
/**
* Gets global composer or null when main composer is not fully loaded
*
* @return Composer|null
*/
public function getGlobalComposer()
{
return $this->globalComposer;
}
/**
* Register a plugin package, activate it etc.
*