private function getServiceProvidersFromPackages()
 {
     $file = new ComposerFile();
     $packageNames = $file->getRequiredPackages();
     $serviceProviders = [];
     foreach ($packageNames as $packageName) {
         $serviceProviders = array_merge($serviceProviders, $this->getServiceProvidersFrom($packageName));
     }
     return $serviceProviders;
 }
 private function getFacadesFromPackages()
 {
     $file = new ComposerFile();
     $packageNames = $file->getRequiredPackages();
     $facades = [];
     foreach ($packageNames as $packageName) {
         $facades = array_merge($facades, $this->getFacadeFrom($packageName));
     }
     return $facades;
 }