You are here

function WordLevelDiff::WordLevelDiff in Diff 5

Same name and namespace in other branches
  1. 5.2 DiffEngine.php \WordLevelDiff::WordLevelDiff()
  2. 6.2 DiffEngine.php \WordLevelDiff::WordLevelDiff()
  3. 6 DiffEngine.php \WordLevelDiff::WordLevelDiff()
  4. 7.2 DiffEngine.php \WordLevelDiff::WordLevelDiff()

File

./DiffEngine.php, line 965

Class

WordLevelDiff
@todo document @private @subpackage DifferenceEngine

Code

function WordLevelDiff($orig_lines, $closing_lines) {
  list($orig_words, $orig_stripped) = $this
    ->_split($orig_lines);
  list($closing_words, $closing_stripped) = $this
    ->_split($closing_lines);
  $this
    ->MappedDiff($orig_words, $closing_words, $orig_stripped, $closing_stripped);
}