function WordLevelDiff::__construct
Same name in other branches
- 9 core/lib/Drupal/Component/Diff/WordLevelDiff.php \Drupal\Component\Diff\WordLevelDiff::__construct()
- 10 core/lib/Drupal/Component/Diff/WordLevelDiff.php \Drupal\Component\Diff\WordLevelDiff::__construct()
- 11.x core/lib/Drupal/Component/Diff/WordLevelDiff.php \Drupal\Component\Diff\WordLevelDiff::__construct()
Overrides MappedDiff::__construct
File
-
core/
lib/ Drupal/ Component/ Diff/ WordLevelDiff.php, line 16
Class
- WordLevelDiff
- @todo document @private @subpackage DifferenceEngine
Namespace
Drupal\Component\DiffCode
public function __construct($orig_lines, $closing_lines) {
list($orig_words, $orig_stripped) = $this->_split($orig_lines);
list($closing_words, $closing_stripped) = $this->_split($closing_lines);
parent::__construct($orig_words, $closing_words, $orig_stripped, $closing_stripped);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.