public function checkPackagesCanBeInstalled($packages_names_list)
    {
        foreach ($packages_names_list as $package_name) {
            $this->checkNoOtherPackageNeedsThisDependencyInALowerVersion($package_name,
                $this->getLatestVersionOfPackage($package_name), $packages_names_list);
        }
    }
public function checkPackagesCanBeInstalled($packages_names_list)
    {
        foreach ($packages_names_list as $package_name) {
            $this->checkNoOtherPackageNeedsThisDependencyInALowerVersion($package_name,
                $this->getLatestVersionOfPackage($package_name), $packages_names_list);
        }
    }
public function checkPackagesCanBeInstalled ( $ packages_names_list ) { foreach ( $ packages_names_list as $ package_name ) { $ this -> checkNoOtherPackageNeedsThisDependencyInALowerVersion ( $ package_name , $ this -> getLatestVersionOfPackage ( $ package_name ) , $ packages_names_list ) ; } }
Check the passed packages list can be updated

@param array $packages_names_list

@throws \Exception
Check the passed packages list can be updated