Same filename and directory in other branches
- 8.9.x core/lib/Drupal/Component/Diff/Engine/DiffOp.php
- 9 core/lib/Drupal/Component/Diff/Engine/DiffOp.php
Namespace
Drupal\Component\Diff\Engine
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(__METHOD__ . '() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3337942', E_USER_DEPRECATED);
trigger_error('pure virtual', E_USER_ERROR);
}
public function norig() {
@trigger_error(__METHOD__ . '() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3337942', E_USER_DEPRECATED);
return $this->orig ? sizeof($this->orig) : 0;
}
public function nclosing() {
@trigger_error(__METHOD__ . '() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3337942', E_USER_DEPRECATED);
return $this->closing ? sizeof($this->closing) : 0;
}
}
Classes
Name |
Description |
DiffOp |
@todo document
@private
@subpackage DifferenceEngine |