AbstractChunkOutputBuilder
in package
implements
DiffOutputBuilderInterface
Interfaces, Classes and Traits
- DiffOutputBuilderInterface
- Defines how an output builder should take a generated diff array and return a string representation of that diff.
Table of Contents
- getCommonChunks() : array<string|int, mixed>
- Takes input of the diff array and returns the common parts.
Methods
getCommonChunks()
Takes input of the diff array and returns the common parts.
protected
getCommonChunks(array<string|int, mixed> $diff[, int $lineThreshold = 5 ]) : array<string|int, mixed>
Iterates through diff line by line.
Parameters
- $diff : array<string|int, mixed>
- $lineThreshold : int = 5