private function getServiceProvidersFrom($packageName) { $package = LaravelPackage::withFullPackageName($packageName); $serviceProviders = array(); foreach ($package->getServiceProviders() as $serviceProvider) { $serviceProviders[] = $this->getFullClassFromProvider($serviceProvider); } return $serviceProviders; }
private function getFacadeFrom($packageName) { $package = LaravelPackage::withFullPackageName($packageName); $facades = array(); foreach ($package->getFacades() as $facade) { $facades[] = $this->getFullClassFromFacade($facade); } return $facades; }