|
@@ -23,6 +23,7 @@ class RootPackage extends CompletePackage implements RootPackageInterface
|
|
|
protected $preferStable = false;
|
|
|
protected $stabilityFlags = array();
|
|
|
protected $config = array();
|
|
|
+ protected $scripts = array();
|
|
|
protected $references = array();
|
|
|
protected $aliases = array();
|
|
|
|
|
@@ -98,6 +99,24 @@ class RootPackage extends CompletePackage implements RootPackageInterface
|
|
|
return $this->config;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Set the scripts
|
|
|
+ *
|
|
|
+ * @param array $scripts
|
|
|
+ */
|
|
|
+ public function setScripts($scripts)
|
|
|
+ {
|
|
|
+ $this->scripts = $scripts;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * {@inheritDoc}
|
|
|
+ */
|
|
|
+ public function getScripts()
|
|
|
+ {
|
|
|
+ return $this->scripts;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Set the references
|
|
|
*
|