|
|
|
@ -22,6 +22,7 @@ class RootPackage extends CompletePackage implements RootPackageInterface
|
|
|
|
|
protected $minimumStability = 'stable';
|
|
|
|
|
protected $preferStable = false;
|
|
|
|
|
protected $stabilityFlags = array();
|
|
|
|
|
protected $config = array();
|
|
|
|
|
protected $references = array();
|
|
|
|
|
protected $aliases = array();
|
|
|
|
|
|
|
|
|
@ -79,6 +80,24 @@ class RootPackage extends CompletePackage implements RootPackageInterface
|
|
|
|
|
return $this->preferStable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the config
|
|
|
|
|
*
|
|
|
|
|
* @param array $config
|
|
|
|
|
*/
|
|
|
|
|
public function setConfig($config)
|
|
|
|
|
{
|
|
|
|
|
$this->config = $config;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* {@inheritDoc}
|
|
|
|
|
*/
|
|
|
|
|
public function getConfig()
|
|
|
|
|
{
|
|
|
|
|
return $this->config;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the references
|
|
|
|
|
*
|
|
|
|
|