class DiffOpDelete in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Diff/Engine/DiffOpDelete.php \Drupal\Component\Diff\Engine\DiffOpDelete
@todo document @private @subpackage DifferenceEngine
Hierarchy
- class \Drupal\Component\Diff\Engine\DiffOp
- class \Drupal\Component\Diff\Engine\DiffOpDelete
Expanded class hierarchy of DiffOpDelete
File
- lib/
Drupal/ Component/ Diff/ Engine/ DiffOpDelete.php, line 15 - Contains \Drupal\Component\Diff\Engine\DiffOpDelete.
Namespace
Drupal\Component\Diff\EngineView source
class DiffOpDelete extends DiffOp {
var $type = 'delete';
public function __construct($lines) {
$this->orig = $lines;
$this->closing = FALSE;
}
public function reverse() {
return new DiffOpAdd($this->orig);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiffOp:: |
property | |||
DiffOp:: |
property | |||
DiffOp:: |
public | function | ||
DiffOp:: |
public | function | ||
DiffOpDelete:: |
property |
Overrides DiffOp:: |
||
DiffOpDelete:: |
public | function |
Overrides DiffOp:: |
|
DiffOpDelete:: |
public | function |