public function addLine(Line $line)
    {
        $this->lines[] = $line;
        $this->end = $line->getIndex();
    }
public function addLine(Line $line)
    {
        $this->lines[] = $line;
        $this->end = $line->getIndex();
    }
public function addLine ( Line $ line ) { $ this -> lines [ ] = $ line ; $ this -> end = $ line -> getIndex ( ) ; }
Add a new line to the hunk.

@param \PhpMerge\Line $line
The line to add.
Add a new line to the hunk .