public function installCode(PackageInterface $package) { $this->removeComponent($package); parent::installCode($package); }