You are here

public function DiffOpCopy::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php \Drupal\Component\Diff\Engine\DiffOpCopy::__construct()

File

core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php, line 18
Contains \Drupal\Component\Diff\Engine\DiffOpCopy.

Class

DiffOpCopy
@todo document @private @subpackage DifferenceEngine

Namespace

Drupal\Component\Diff\Engine

Code

public function __construct($orig, $closing = FALSE) {
  if (!is_array($closing)) {
    $closing = $orig;
  }
  $this->orig = $orig;
  $this->closing = $closing;
}