src/Scaffolder/Support/Composer.php
protected function runCommand($command)
    {
        $process = $this->getProcess();

        $process->setCommandLine(trim($this->find() . ' ' . $command));

        $process->run();

        return $this;
    }
protected function runCommand($command)
    {
        $process = $this->getProcess();

        $process->setCommandLine(trim($this->find() . ' ' . $command));

        $process->run();

        return $this;
    }
protected function runCommand ( $ command ) { $ process = $ this -> getProcess ( ) ; $ process -> setCommandLine ( trim ( $ this -> find ( ) . ' ' . $ command ) ) ; $ process -> run ( ) ; return $ this ; }
Run composer command.

@param $command

@return $this
Run composer command .