protected function removePackages($packages) { $this->packages = array_diff_key($this->readConfig(), array_flip($packages)); }