1
0
Fork 0
expand interface and add missing methods to aliaspackage
pull/8160/head
Rob Bast 2019-05-29 08:45:05 +02:00
parent de8368af45
commit bd6b758a1b
No known key found for this signature in database
GPG Key ID: 73076E35E6165F39
2 changed files with 38 additions and 0 deletions

View File

@ -401,4 +401,14 @@ class AliasPackage extends BasePackage implements CompletePackageInterface
{ {
return parent::__toString().' (alias of '.$this->aliasOf->getVersion().')'; return parent::__toString().' (alias of '.$this->aliasOf->getVersion().')';
} }
public function setDistUrl($url)
{
return $this->aliasOf->setDistUrl($url);
}
public function setDistType($type)
{
return $this->aliasOf->setDistType($type);
}
} }

View File

@ -358,4 +358,32 @@ interface PackageInterface
* @return array * @return array
*/ */
public function getTransportOptions(); public function getTransportOptions();
/**
* @param string $reference
*
* @return void
*/
public function setSourceReference($reference);
/**
* @param string $url
*
* @return void
*/
public function setDistUrl($url);
/**
* @param string $type
*
* @return void
*/
public function setDistType($type);
/**
* @param string $reference
*
* @return void
*/
public function setDistReference($reference);
} }