Diff::__construct

public function Diff::__construct

public Diff::__construct($from_lines, $to_lines)

Constructor. Computes diff between sequences of strings.

Parameters

$from_lines array An array of strings.: (Typically these are lines from a file.)

$to_lines array An array of strings.:

File

core/lib/Drupal/Component/Diff/Diff.php, line 34

Class

Diff
Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine

Namespace

登录查看完整内容