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