public function DiffOpCopy::reverse

public DiffOpCopy::reverse()

Overrides DiffOp::reverse

File

core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php, line 21

Class

DiffOpCopy
@todo document @private @subpackage DifferenceEngine

Namespace

Drupal\Component\Diff\Engine

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Diff!Engine!DiffOpCopy.php/function/DiffOpCopy::reverse/8.1.x