class DiffOp
Same name and namespace in other branches
- 11.x core/lib/Drupal/Component/Diff/Engine/DiffOp.php \Drupal\Component\Diff\Engine\DiffOp
- 10 core/lib/Drupal/Component/Diff/Engine/DiffOp.php \Drupal\Component\Diff\Engine\DiffOp
- 9 core/lib/Drupal/Component/Diff/Engine/DiffOp.php \Drupal\Component\Diff\Engine\DiffOp
- 8.9.x core/lib/Drupal/Component/Diff/Engine/DiffOp.php \Drupal\Component\Diff\Engine\DiffOp
A diff operation.
@private @subpackage DifferenceEngine
Hierarchy
- class \Drupal\Component\Diff\Engine\DiffOp
Expanded class hierarchy of DiffOp
1 file declares its use of DiffOp
- DiffOpOutputBuilder.php in core/
lib/ Drupal/ Component/ Diff/ DiffOpOutputBuilder.php
File
-
core/
lib/ Drupal/ Component/ Diff/ Engine/ DiffOp.php, line 11
Namespace
Drupal\Component\Diff\EngineView source
class DiffOp {
/**
* The type of operation.
*
* @var string
*/
public $type;
/**
* An array of the original lines.
*
* @var string[]
*/
public $orig;
/**
* An array of the new lines.
*
* @var string[]
*/
public $closing;
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overrides |
|---|---|---|---|---|
| DiffOp::$closing | public | property | An array of the new lines. | |
| DiffOp::$orig | public | property | An array of the original lines. | |
| DiffOp::$type | public | property | The type of operation. | 4 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.