You are here

class DiffOpChange in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php \Drupal\Component\Diff\Engine\DiffOpChange

@todo document @private @subpackage DifferenceEngine

Hierarchy

  • class \Drupal\Component\Diff\Engine\DiffOp

Expanded class hierarchy of DiffOpChange

File

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

Namespace

Drupal\Component\Diff\Engine
View 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

Namesort descending Modifiers Type Description Overrides
DiffOp::$closing property
DiffOp::$orig property
DiffOp::nclosing public function
DiffOp::norig public function
DiffOpChange::$type property Overrides DiffOp::$type
DiffOpChange::reverse public function Overrides DiffOp::reverse
DiffOpChange::__construct public function