You are here

class DiffOpDelete in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php \Drupal\Component\Diff\Engine\DiffOpDelete

@todo document @private @subpackage DifferenceEngine

Hierarchy

  • class \Drupal\Component\Diff\Engine\DiffOp

Expanded class hierarchy of DiffOpDelete

File

core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php, line 15
Contains \Drupal\Component\Diff\Engine\DiffOpDelete.

Namespace

Drupal\Component\Diff\Engine
View 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

Namesort descending Modifiers Type Description Overrides
DiffOp::$closing property
DiffOp::$orig property
DiffOp::nclosing public function
DiffOp::norig public function
DiffOpDelete::$type property Overrides DiffOp::$type
DiffOpDelete::reverse public function Overrides DiffOp::reverse
DiffOpDelete::__construct public function