function DiffOpAdd::__construct

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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;
}

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