Namshi\Cuzzle\Formatter\CurlFormatter::addCommandPart PHP Méthode

addCommandPart() protected méthode

protected addCommandPart ( $part )
$part
    protected function addCommandPart($part)
    {
        $this->command .= ' ';
        if ($this->commandLineLength > 0 && $this->currentLineLength + strlen($part) > $this->commandLineLength) {
            $this->currentLineLength = 0;
            $this->command .= "\\\n  ";
        }
        $this->command .= $part;
        $this->currentLineLength += strlen($part) + 2;
    }