You are here

DiffOpDelete.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php

File

core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Component\Diff\Engine\DiffOpDelete.
 */
namespace Drupal\Component\Diff\Engine;


/**
 * @todo document
 * @private
 * @subpackage DifferenceEngine
 */
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);
  }

}

Classes

Namesort descending Description
DiffOpDelete @todo document @private @subpackage DifferenceEngine