public addPackage ( Composer\Package\PackageInterface $package ) | ||
$package | Composer\Package\PackageInterface | package instance |
public function addPackage(PackageInterface $package)
{
$this->packages[$package->getName()] = $package;
}