MediaWiki REL1_34
DiffOpDelete.php
Go to the documentation of this file.
1<?php
2
35class DiffOpDelete extends DiffOp {
36 public $type = 'delete';
37
38 public function __construct( $lines ) {
39 $this->orig = $lines;
40 $this->closing = false;
41 }
42
46 public function reverse() {
47 return new DiffOpAdd( $this->orig );
48 }
49}
Extends DiffOp.
Definition DiffOpAdd.php:35
Extends DiffOp.
__construct( $lines)
The base class for all other DiffOp classes.
Definition DiffOp.php:37
$lines
Definition router.php:61