private function installRequires(Request $request, array $links, $dev = false)
    {
        foreach ($links as $link) {
            $this->logger->info($dev
                ? "Adding dev dependency <comment>{$link}</comment>"
                : "Adding dependency <comment>{$link}</comment>"
            );
            $request->install($link->getTarget(), $link->getConstraint());
        }
    }
private function installRequires(Request $request, array $links, $dev = false)
    {
        foreach ($links as $link) {
            $this->logger->info($dev
                ? "Adding dev dependency <comment>{$link}</comment>"
                : "Adding dependency <comment>{$link}</comment>"
            );
            $request->install($link->getTarget(), $link->getConstraint());
        }
    }
private function installRequires ( Request $ request , array $ links , $ dev = false ) { foreach ( $ links as $ link ) { $ this -> logger -> info ( $ dev ? "Adding dev dependency <comment>{$link}</comment>" : "Adding dependency <comment>{$link}</comment>" ) ; $ request -> install ( $ link -> getTarget ( ) , $ link -> getConstraint ( ) ) ; } }
Install requirements.

@param  \Composer\DependencyResolver\Request  $request
@param  \Composer\Package\Link[]              $links
@param  bool                                  $dev
Install requirements .