private function requireComposerPackage($package)
    {
        $composer = $this->findComposer();
        $process = new Process($composer.' require '.$package.''.$this->getDevOption(),
                       null, null, null, null);
        $this->output->writeln('<info>Running composer require '.$package.$this->getDevOption().'</info>');
        $process->run(function ($type, $line) {
            $this->output->write($line);
        });
    }
private function requireComposerPackage($package)
    {
        $composer = $this->findComposer();
        $process = new Process($composer.' require '.$package.''.$this->getDevOption(),
                       null, null, null, null);
        $this->output->writeln('<info>Running composer require '.$package.$this->getDevOption().'</info>');
        $process->run(function ($type, $line) {
            $this->output->write($line);
        });
    }
private function requireComposerPackage ( $ package ) { $ composer = $ this -> findComposer ( ) ; $ process = new Process ( $ composer . ' require ' . $ package . '' . $ this -> getDevOption ( ) , null , null , null , null ) ; $ this -> output -> writeln ( '<info>Running composer require ' . $ package . $ this -> getDevOption ( ) . '</info>' ) ; $ process -> run ( function ( $ type , $ line ) { $ this -> output -> write ( $ line ) ; } ) ; }
Require composer package.

@param $package
Require composer package .