function DiffOpDelete::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php \Drupal\Component\Diff\Engine\DiffOpDelete::__construct()
  2. 10 core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php \Drupal\Component\Diff\Engine\DiffOpDelete::__construct()
  3. 9 core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php \Drupal\Component\Diff\Engine\DiffOpDelete::__construct()
  4. 8.9.x core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php \Drupal\Component\Diff\Engine\DiffOpDelete::__construct()

File

core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php, line 18

Class

DiffOpDelete
A diff operation to delete lines.

Namespace

Drupal\Component\Diff\Engine

Code

public function __construct($lines) {
  $this->orig = $lines;
  $this->closing = FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.