You are here

class _DiffOp_Change in Diff 5.2

Same name and namespace in other branches
  1. 5 DiffEngine.php \_DiffOp_Change
  2. 6.2 DiffEngine.php \_DiffOp_Change
  3. 6 DiffEngine.php \_DiffOp_Change
  4. 7.3 DiffEngine.php \_DiffOp_Change
  5. 7.2 DiffEngine.php \_DiffOp_Change

@todo document @private @subpackage DifferenceEngine

Hierarchy

Expanded class hierarchy of _DiffOp_Change

File

./DiffEngine.php, line 95

View source
class _DiffOp_Change extends _DiffOp {
  var $type = 'change';
  function _DiffOp_Change($orig, $closing) {
    $this->orig = $orig;
    $this->closing = $closing;
  }
  function reverse() {
    return new _DiffOp_Change($this->closing, $this->orig);
  }

}

Members