class DiffOpAdd in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php \Drupal\Component\Diff\Engine\DiffOpAdd
@todo document @private @subpackage DifferenceEngine
Hierarchy
Expanded class hierarchy of DiffOpAdd
File
- core/
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 |