DiffOpDelete.php
Same filename in other branches
Namespace
Drupal\Component\Diff\EngineFile
-
core/
lib/ Drupal/ Component/ Diff/ Engine/ DiffOpDelete.php
View source
<?php
namespace Drupal\Component\Diff\Engine;
/**
* @todo document
* @private
* @subpackage DifferenceEngine
*/
class DiffOpDelete extends DiffOp {
public $type = 'delete';
public function __construct($lines) {
$this->orig = $lines;
$this->closing = FALSE;
}
public function reverse() {
return new DiffOpAdd($this->orig);
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DiffOpDelete | @todo document @private @subpackage DifferenceEngine |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.