DiffOp.php in Service Container 7.2
Same filename and directory in other branches
Contains \Drupal\Component\Diff\Engine\DiffOp.
Namespace
Drupal\Component\Diff\EngineFile
lib/Drupal/Component/Diff/Engine/DiffOp.phpView source
<?php
/**
* @file
* Contains \Drupal\Component\Diff\Engine\DiffOp.
*/
namespace Drupal\Component\Diff\Engine;
/**
* @todo document
* @private
* @subpackage DifferenceEngine
*/
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;
}
}