classes/phing/tasks/ext/ComposerTask.php
private function prepareCommandLine()
    {
        $this->commandLine->setExecutable($this->getPhp());
        //We are un-shifting arguments to the beginning of the command line because arguments should be at the end
        $this->commandLine->createArgument(true)->setValue($this->getCommand());
        $this->commandLine->createArgument(true)->setValue($this->getComposer());
        $commandLine = (string) $this->commandLine;
        //Creating new Commandline instance. It allows to handle subsequent calls correctly
        $this->commandLine = new Commandline();

        return $commandLine;
    }
private function prepareCommandLine()
    {
        $this->commandLine->setExecutable($this->getPhp());
        //We are un-shifting arguments to the beginning of the command line because arguments should be at the end
        $this->commandLine->createArgument(true)->setValue($this->getCommand());
        $this->commandLine->createArgument(true)->setValue($this->getComposer());
        $commandLine = (string) $this->commandLine;
        //Creating new Commandline instance. It allows to handle subsequent calls correctly
        $this->commandLine = new Commandline();

        return $commandLine;
    }
private function prepareCommandLine ( ) { $ this -> commandLine -> setExecutable ( $ this -> getPhp ( ) ) ; //We are un-shifting arguments to the beginning of the command line because arguments should be at the end $ this -> commandLine -> createArgument ( true ) -> setValue ( $ this -> getCommand ( ) ) ; $ this -> commandLine -> createArgument ( true ) -> setValue ( $ this -> getComposer ( ) ) ; $ commandLine = ( string ) $ this -> commandLine ; //Creating new Commandline instance. It allows to handle subsequent calls correctly $ this -> commandLine = new Commandline ( ) ; return $ commandLine ; }
Prepares the command string to be executed.

@return string
@throws IOException
Prepares the command string to be executed .