concrete/src/Package/Dependency/DependencyChecker.php
public function setInstalledPackages(array $installedPackages)
    {
        $dictionary = [];
        foreach ($installedPackages as $installedPackage) {
            $dictionary[$installedPackage->getPackageHandle()] = $installedPackage;
        }
        $this->installedPackages = $dictionary;

        return $this;
    }
public function setInstalledPackages(array $installedPackages)
    {
        $dictionary = [];
        foreach ($installedPackages as $installedPackage) {
            $dictionary[$installedPackage->getPackageHandle()] = $installedPackage;
        }
        $this->installedPackages = $dictionary;

        return $this;
    }
public function setInstalledPackages ( array $ installedPackages ) { $ dictionary = [ ] ; foreach ( $ installedPackages as $ installedPackage ) { $ dictionary [ $ installedPackage -> getPackageHandle ( ) ] = $ installedPackage ; } $ this -> installedPackages = $ dictionary ; return $ this ; }
Set the list of installed packages.

@param Package[] $installedPackages

@return $this
Set the list of installed packages .