You are here

public function DiffOpChange::reverse in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Diff/Engine/DiffOpChange.php \Drupal\Component\Diff\Engine\DiffOpChange::reverse()

Overrides DiffOp::reverse

File

lib/Drupal/Component/Diff/Engine/DiffOpChange.php, line 23
Contains \Drupal\Component\Diff\Engine\DiffOpChange.

Class

DiffOpChange
@todo document @private @subpackage DifferenceEngine

Namespace

Drupal\Component\Diff\Engine

Code

public function reverse() {
  return new DiffOpChange($this->closing, $this->orig);
}