src/Plugin.php
public function onPostDependenciesSolving(Installer\InstallerEvent $ev)
    {
        if ($this->disabled) {
            return;
        }
        $prefetcher = new Prefetcher;
        $prefetcher->fetchAllFromOperations(
            $this->io,
            $this->config,
            $ev->getOperations()
        );
    }
public function onPostDependenciesSolving(Installer\InstallerEvent $ev)
    {
        if ($this->disabled) {
            return;
        }
        $prefetcher = new Prefetcher;
        $prefetcher->fetchAllFromOperations(
            $this->io,
            $this->config,
            $ev->getOperations()
        );
    }
public function onPostDependenciesSolving ( Installer \ InstallerEvent $ ev ) { if ( $ this -> disabled ) { return ; } $ prefetcher = new Prefetcher ; $ prefetcher -> fetchAllFromOperations ( $ this -> io , $ this -> config , $ ev -> getOperations ( ) ) ; }
pre-fetch parallel by curl_multi
pre - fetch parallel by curl_multi