public function joinCommand(array $parts)
    {
        $command = 'php ' . implode(' ', $parts);
        $stripped = str_replace('--watch', '', $command);
        return trim($stripped);
    }
public function joinCommand(array $parts)
    {
        $command = 'php ' . implode(' ', $parts);
        $stripped = str_replace('--watch', '', $command);
        return trim($stripped);
    }
public function joinCommand ( array $ parts ) { $ command = 'php ' . implode ( ' ' , $ parts ) ; $ stripped = str_replace ( '--watch' , '' , $ command ) ; return trim ( $ stripped ) ; }
Join an array of arg parts into a command.

@param array $parts
@return string
Join an array of arg parts into a command .