protected function getPool()
    {
        if (!$this->pool) {
            $this->pool = new Pool($this->getMinimumStability());

            // Add each of our configured repos to the pool,
            // or it defaults to packagist.org
            foreach ($this->getRepos() as $repo) {
                $this->pool->addRepository($repo);
            }
        }

        return $this->pool;
    }
protected function getPool()
    {
        if (!$this->pool) {
            $this->pool = new Pool($this->getMinimumStability());

            // Add each of our configured repos to the pool,
            // or it defaults to packagist.org
            foreach ($this->getRepos() as $repo) {
                $this->pool->addRepository($repo);
            }
        }

        return $this->pool;
    }
protected function getPool ( ) { if ( ! $ this -> pool ) { $ this -> pool = new Pool ( $ this -> getMinimumStability ( ) ) ; // Add each of our configured repos to the pool, // or it defaults to packagist.org foreach ( $ this -> getRepos ( ) as $ repo ) { $ this -> pool -> addRepository ( $ repo ) ; } } return $ this -> pool ; }
Return a resolver pool that contains repositories, that provide packages.

@return \Composer\DependencyResolver\Pool
Return a resolver pool that contains repositories that provide packages .