class DiffOpChange
@todo document @private @subpackage DifferenceEngine
Hierarchy
- class \Drupal\Component\Diff\Engine\DiffOp
- class \Drupal\Component\Diff\Engine\DiffOpChange extends \Drupal\Component\Diff\Engine\DiffOp
 
 
Expanded class hierarchy of DiffOpChange
1 file declares its use of DiffOpChange
- DiffEngineTest.php in core/
tests/ Drupal/ Tests/ Component/ Diff/ Engine/ DiffEngineTest.php  
File
- 
              core/
lib/ Drupal/ Component/ Diff/ Engine/ DiffOpChange.php, line 10  
Namespace
Drupal\Component\Diff\EngineView source
class DiffOpChange extends DiffOp {
  public $type = 'change';
  public function __construct($orig, $closing) {
    $this->orig = $orig;
    $this->closing = $closing;
  }
  public function reverse() {
    return new DiffOpChange($this->closing, $this->orig);
  }
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overriden Title | 
|---|---|---|---|---|
| DiffOp::$closing | public | property | ||
| DiffOp::$orig | public | property | ||
| DiffOp::nclosing | public | function | ||
| DiffOp::norig | public | function | ||
| DiffOpChange::$type | public | property | Overrides DiffOp::$type | |
| DiffOpChange::reverse | public | function | Overrides DiffOp::reverse | |
| DiffOpChange::__construct | public | function | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.