87 if ( array_key_exists( $i, $this->closing ) ) {
88 return $this->closing[$i];
102 return $this->orig ? count( $this->orig ) : 0;
109 return $this->closing ? count( $this->closing ) : 0;
The base class for all other DiffOp classes.
getOrig()
Returns either all lines on the left ("old") side of the diff, or false when it's an add operation.
string[] false $orig
The left ("old") side of the diff, or false when it's an "add".
getClosing( $i=null)
Without a line number this returns either all lines on the right ("new") side of the diff,...
string[] false $closing
The right ("new") side of the diff, or false when it's a "delete".