You are here

public function DiffOpAdd::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php \Drupal\Component\Diff\Engine\DiffOpAdd::__construct()
  2. 10 core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php \Drupal\Component\Diff\Engine\DiffOpAdd::__construct()

File

core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php, line 13

Class

DiffOpAdd
@todo document @private @subpackage DifferenceEngine

Namespace

Drupal\Component\Diff\Engine

Code

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