AbstractChunkOutputBuilder
    
            
            in package
            
        
    
            
            implements
                            DiffOutputBuilderInterface                    
    
    
AbstractYes
Table of Contents
Interfaces
- DiffOutputBuilderInterface
 - Defines how an output builder should take a generated diff array and return a string representation of that diff.
 
Methods
- 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