concrete/src/Package/Dependency/DependencyChecker.php
protected function getPackageRequirementsForPackage(Package $package, Package $otherPackage)
    {
        $dependencies = $package->getPackageDependencies();
        $otherPackageHandle = $otherPackage->getPackageHandle();

        return isset($dependencies[$otherPackageHandle]) ? $dependencies[$otherPackageHandle] : null;
    }
protected function getPackageRequirementsForPackage(Package $package, Package $otherPackage)
    {
        $dependencies = $package->getPackageDependencies();
        $otherPackageHandle = $otherPackage->getPackageHandle();

        return isset($dependencies[$otherPackageHandle]) ? $dependencies[$otherPackageHandle] : null;
    }
protected function getPackageRequirementsForPackage ( Package $ package , Package $ otherPackage ) { $ dependencies = $ package -> getPackageDependencies ( ) ; $ otherPackageHandle = $ otherPackage -> getPackageHandle ( ) ; return isset ( $ dependencies [ $ otherPackageHandle ] ) ? $ dependencies [ $ otherPackageHandle ] : null ; }
Get the requirements for a package in respect to another package.

@param Package $package
@param Package $otherPackage

@return string[]|string|bool|null
Get the requirements for a package in respect to another package .