MediaWiki
1.34.0
DiffOpChange.php
Go to the documentation of this file.
1
<?php
2
35
class
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
}
DiffOp
The base class for all other DiffOp classes.
Definition:
DiffOp.php:37
DiffOpChange\__construct
__construct( $orig, $closing)
Definition:
DiffOpChange.php:38
DiffOpChange
Extends DiffOp.
Definition:
DiffOpChange.php:35
DiffOp\$closing
string[] false $closing
Definition:
DiffOp.php:52
DiffOpChange\$type
$type
Definition:
DiffOpChange.php:36
DiffOpChange\reverse
reverse()
Definition:
DiffOpChange.php:46
DiffOp\$orig
string[] false $orig
Definition:
DiffOp.php:47
includes
diff
DiffOpChange.php
Generated on Thu Dec 19 2019 14:54:16 for MediaWiki by
1.8.16