You are here

public function DiffOpCopy::__construct in Service Container 7.2

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

File

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;
}