示例#1
0
 /**
  * @param IOInterface $io
  * @param Composer    $composer
  * @param string      $type
  *
  * @throws \ErrorException
  */
 public function __construct(IOInterface $io, Composer $composer, $type = self::PACKAGE_TYPE)
 {
     parent::__construct($io, $composer, $type);
 }
示例#2
0
 /**
  * Updates specific package
  *
  * @param InstalledRepositoryInterface $repo    repository in which to check
  * @param PackageInterface             $initial already installed package version
  * @param PackageInterface             $target  updated version
  *
  * @throws InvalidArgumentException if $from package is not installed
  */
 public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target)
 {
     parent::update($repo, $initial, $target);
 }
 /**
  * init the Installer
  *
  * @param MagentoInstallerAbstract $installer
  * @param DeployManager            $deployManager
  *
  * @return MagentoInstallerAbstract
  */
 private function initMagentoInstaller(MagentoInstallerAbstract $installer, DeployManager $deployManager)
 {
     $installer->setDeployManager($deployManager);
     return $installer;
 }