DiffOp.php in Drupal 10
File
core/lib/Drupal/Component/Diff/Engine/DiffOp.php
View source
<?php
namespace Drupal\Component\Diff\Engine;
class DiffOp {
public $type;
public $orig;
public $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;
}
}
Classes
Name |
Description |
DiffOp |
@todo document
@private
@subpackage DifferenceEngine |