Text_Diff::getFinal()
Gets the final set of lines.
This reconstructs the $to_lines parameter passed to the constructor.
Method of the class: Text_Diff{}
No Hooks.
Return
Array
. The sequence of strings.
Usage
$Text_Diff = new Text_Diff(); $Text_Diff->getFinal();
Text_Diff::getFinal() Text Diff::getFinal code WP 6.6.2
function getFinal() { $lines = array(); foreach ($this->_edits as $edit) { if ($edit->final) { array_splice($lines, count($lines), 0, $edit->final); } } return $lines; }