Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

DiffOpCopy.php

Namespace

Drupal\Component\Diff\Engine

File

core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php

View source
<?php

namespace Drupal\Component\Diff\Engine;


/**
 * @todo document
 * @private
 * @subpackage DifferenceEngine
 */
class DiffOpCopy extends DiffOp {
    public $type = 'copy';
    public function __construct($orig, $closing = FALSE) {
        if (!is_array($closing)) {
            $closing = $orig;
        }
        $this->orig = $orig;
        $this->closing = $closing;
    }

}

Classes

Title Deprecated Summary
DiffOpCopy @todo document @private @subpackage DifferenceEngine
RSS feed
Powered by Drupal