DiffOp.php

Same filename and directory in other branches
  1. 11.x core/lib/Drupal/Component/Diff/Engine/DiffOp.php
  2. 10 core/lib/Drupal/Component/Diff/Engine/DiffOp.php
  3. 9 core/lib/Drupal/Component/Diff/Engine/DiffOp.php
  4. 8.9.x core/lib/Drupal/Component/Diff/Engine/DiffOp.php

Namespace

Drupal\Component\Diff\Engine

File

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

View source
<?php

namespace Drupal\Component\Diff\Engine;


/**
 * A diff operation.
 *
 * @private
 * @subpackage DifferenceEngine
 */
class DiffOp {
  
  /**
   * The type of operation.
   *
   * @var string
   */
  public $type;
  
  /**
   * An array of the original lines.
   *
   * @var string[]
   */
  public $orig;
  
  /**
   * An array of the new lines.
   *
   * @var string[]
   */
  public $closing;

}

Classes

Title Deprecated Summary
DiffOp A diff operation.

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