Differ
class Differ implements DifferInterface (View source)
Properties
protected int | $maxTrailingUnchangedLines | ||
protected Differ | $differ |
Methods
__construct(int $maxTrailingUnchangedLines = 3)
Initialize the instance.
diff($old, $new)
{@inheritdoc}
string
countTrailingUnchangedLines(array $lines)
Count the number of unchanged trailing lines.
Details
__construct(int $maxTrailingUnchangedLines = 3)
Initialize the instance.
diff($old, $new)
{@inheritdoc}
protected string
countTrailingUnchangedLines(array $lines)
Count the number of unchanged trailing lines.