public function install($package)
    {
        if (! is_null($package)) {
            $package = '"'.$package.'"';
        }
        $process = $this->getProcess();
        $process->setCommandLine(trim($this->findComposer().' require '.$package));
        $process->run($this->output);
    }
public function install($package)
    {
        if (! is_null($package)) {
            $package = '"'.$package.'"';
        }
        $process = $this->getProcess();
        $process->setCommandLine(trim($this->findComposer().' require '.$package));
        $process->run($this->output);
    }
public function install ( $ package ) { if ( ! is_null ( $ package ) ) { $ package = '"' . $ package . '"' ; } $ process = $ this -> getProcess ( ) ; $ process -> setCommandLine ( trim ( $ this -> findComposer ( ) . ' require ' . $ package ) ) ; $ process -> run ( $ this -> output ) ; }
Require a new composer package.

@param string $package

@return void
Require a new composer package .