You are here

class _DiffOp_Delete in Diff 5

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

@todo document @private @subpackage DifferenceEngine

Hierarchy

Expanded class hierarchy of _DiffOp_Delete

File

./DiffEngine.php, line 59

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

}

Members