Merge pull request #5129 from hiqsol/get-global-composer
Added getter for global composerpull/5139/merge
commit
997b5ef536
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue