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