src/FileRepository.php
public function install($name, $version = 'dev-master', $type = 'composer', $subtree = false)
    {
        $installer = new Installer($name, $version, $type, $subtree);

        return $installer->run();
    }
public function install($name, $version = 'dev-master', $type = 'composer', $subtree = false)
    {
        $installer = new Installer($name, $version, $type, $subtree);

        return $installer->run();
    }
public function install ( $ name , $ version = 'dev-master' , $ type = 'composer' , $ subtree = false ) { $ installer = new Installer ( $ name , $ version , $ type , $ subtree ) ; return $ installer -> run ( ) ; }
Install the specified module.

@param string $name
@param string $version
@param string $type
@param bool   $subtree

@return \Symfony\Component\Process\Process
Install the specified module .