public function DiffOpCopy::__construct
public DiffOpCopy::__construct($orig, $closing = FALSE)
File
- core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php, line 13
Class
- DiffOpCopy
- @todo document @private @subpackage DifferenceEngine
Namespace
Drupal\Component\Diff\EngineCode
public function __construct($orig, $closing = FALSE) { if (!is_array($closing)) { $closing = $orig; } $this->orig = $orig; $this->closing = $closing; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Diff!Engine!DiffOpCopy.php/function/DiffOpCopy::__construct/8.1.x