/** * {@inheritDoc} */ public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) { $this->remove(); parent::uninstall($repo, $package); }
/** * Add an installer. * * @param AbstractInstaller $installer */ public function add(AbstractInstaller $installer) { $installer->setOutput($this->output); $this->installers[] = $installer; }