scanAvailablePackages(); foreach ($this->packages as $package) { $this->registerActivePackage($package); } } /** * Overwrite the original method to avoid resolving dependencies (which we do not need) * and saving the PackageStates.php file (which we do not want), when calling scanAvailablePackages() */ protected function sortAndSavePackageStates() { // Deliberately empty! } }