You are here

class DiffOp in Zircon Profile 8.0

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

@todo document @private @subpackage DifferenceEngine

Hierarchy

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

Expanded class hierarchy of DiffOp

File

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

Namespace

Drupal\Component\Diff\Engine
View source
class DiffOp {
  var $type;
  var $orig;
  var $closing;
  public function reverse() {
    trigger_error('pure virtual', E_USER_ERROR);
  }
  public function norig() {
    return $this->orig ? sizeof($this->orig) : 0;
  }
  public function nclosing() {
    return $this->closing ? sizeof($this->closing) : 0;
  }

}

Members

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