public function changeLines($originalLine, array $newLines)
    {
        $this->buffer->replace($this->createSingleLineRange($originalLine), $newLines);
    }
public function changeLines($originalLine, array $newLines)
    {
        $this->buffer->replace($this->createSingleLineRange($originalLine), $newLines);
    }
public function changeLines ( $ originalLine , array $ newLines ) { $ this -> buffer -> replace ( $ this -> createSingleLineRange ( $ originalLine ) , $ newLines ) ; }
Change one line by replacing it with one or many new lines.

@param int $originalLine
@param array $newLines

@return void
Change one line by replacing it with one or many new lines .