class DiffOp in Drupal 8
Same name and namespace in other branches
- 9 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
1 file declares its use of DiffOp
- DiffOpTest.php in core/
tests/ Drupal/ Tests/ Component/ Diff/ Engine/ DiffOpTest.php
File
- core/
lib/ Drupal/ Component/ Diff/ Engine/ DiffOp.php, line 10
Namespace
Drupal\Component\Diff\EngineView source
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiffOp:: |
public | property | ||
DiffOp:: |
public | property | ||
DiffOp:: |
public | property | 4 | |
DiffOp:: |
public | function | ||
DiffOp:: |
public | function | ||
DiffOp:: |
public | function | 4 |