class DiffOpChange in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Diff/Engine/DiffOpChange.php \Drupal\Component\Diff\Engine\DiffOpChange
@todo document @private @subpackage DifferenceEngine
Hierarchy
- class \Drupal\Component\Diff\Engine\DiffOp
- class \Drupal\Component\Diff\Engine\DiffOpChange
Expanded class hierarchy of DiffOpChange
File
- lib/
Drupal/ Component/ Diff/ Engine/ DiffOpChange.php, line 15 - Contains \Drupal\Component\Diff\Engine\DiffOpChange.
Namespace
Drupal\Component\Diff\EngineView source
class DiffOpChange extends DiffOp {
var $type = 'change';
public function __construct($orig, $closing) {
$this->orig = $orig;
$this->closing = $closing;
}
public function reverse() {
return new DiffOpChange($this->closing, $this->orig);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiffOp:: |
property | |||
DiffOp:: |
property | |||
DiffOp:: |
public | function | ||
DiffOp:: |
public | function | ||
DiffOpChange:: |
property |
Overrides DiffOp:: |
||
DiffOpChange:: |
public | function |
Overrides DiffOp:: |
|
DiffOpChange:: |
public | function |