You are here

class _DiffOp_Add in Diff 5

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

@todo document @private @subpackage DifferenceEngine

Hierarchy

Expanded class hierarchy of _DiffOp_Add

File

./DiffEngine.php, line 77

View source
class _DiffOp_Add extends _DiffOp {
  var $type = 'add';
  function _DiffOp_Add($lines) {
    $this->closing = $lines;
    $this->orig = false;
  }
  function reverse() {
    return new _DiffOp_Delete($this->closing);
  }

}

Members