src/Installer.php
private function getGraph()
    {
        if ($this->graph === null) {
            $local_repository   = $this->composer->getRepositoryManager()->getLocalRepository();
            $packages           = $local_repository->getPackages();
            $packages[]         = $this->composer->getPackage();
            $supported_packages = $this->getSupportedPackages($packages);
            $this->setUpAutoloading();
            $this->graph = new EntityPackageBuilder($this, $supported_packages);
        }
        return $this->graph;
    }
private function getGraph()
    {
        if ($this->graph === null) {
            $local_repository   = $this->composer->getRepositoryManager()->getLocalRepository();
            $packages           = $local_repository->getPackages();
            $packages[]         = $this->composer->getPackage();
            $supported_packages = $this->getSupportedPackages($packages);
            $this->setUpAutoloading();
            $this->graph = new EntityPackageBuilder($this, $supported_packages);
        }
        return $this->graph;
    }
private function getGraph ( ) { if ( $ this -> graph === null ) { $ local_repository = $ this -> composer -> getRepositoryManager ( ) -> getLocalRepository ( ) ; $ packages = $ local_repository -> getPackages ( ) ; $ packages [ ] = $ this -> composer -> getPackage ( ) ; $ supported_packages = $ this -> getSupportedPackages ( $ packages ) ; $ this -> setUpAutoloading ( ) ; $ this -> graph = new EntityPackageBuilder ( $ this , $ supported_packages ) ; } return $ this -> graph ; }
Calculate the dependency graph
@return \Hostnet\Component\EntityPlugin\EntityPackageBuilder
Calculate the dependency graph