You are here

public function DiffOpDelete::reverse in Service Container 7.2

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

Overrides DiffOp::reverse

File

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

Class

DiffOpDelete
@todo document @private @subpackage DifferenceEngine

Namespace

Drupal\Component\Diff\Engine

Code

public function reverse() {
  return new DiffOpAdd($this->orig);
}