Undo addition of a bunch of Script methods to RootPackage[Interface], refs #5401
parent
a72ef947d4
commit
98bf6d704e
|
@ -70,14 +70,6 @@ class RootAliasPackage extends AliasPackage implements RootPackageInterface
|
||||||
return $this->aliasOf->getConfig();
|
return $this->aliasOf->getConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
public function getScripts()
|
|
||||||
{
|
|
||||||
return $this->aliasOf->getScripts();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -23,7 +23,6 @@ class RootPackage extends CompletePackage implements RootPackageInterface
|
||||||
protected $preferStable = false;
|
protected $preferStable = false;
|
||||||
protected $stabilityFlags = array();
|
protected $stabilityFlags = array();
|
||||||
protected $config = array();
|
protected $config = array();
|
||||||
protected $scripts = array();
|
|
||||||
protected $references = array();
|
protected $references = array();
|
||||||
protected $aliases = array();
|
protected $aliases = array();
|
||||||
|
|
||||||
|
@ -99,24 +98,6 @@ class RootPackage extends CompletePackage implements RootPackageInterface
|
||||||
return $this->config;
|
return $this->config;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the scripts
|
|
||||||
*
|
|
||||||
* @param array $scripts
|
|
||||||
*/
|
|
||||||
public function setScripts(array $scripts)
|
|
||||||
{
|
|
||||||
$this->scripts = $scripts;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
public function getScripts()
|
|
||||||
{
|
|
||||||
return $this->scripts;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the references
|
* Set the references
|
||||||
*
|
*
|
||||||
|
|
|
@ -65,13 +65,6 @@ interface RootPackageInterface extends CompletePackageInterface
|
||||||
*/
|
*/
|
||||||
public function getConfig();
|
public function getConfig();
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the root package's scripts
|
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function getScripts();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the required packages
|
* Set the required packages
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue