DiffOnlyOutputBuilder
    
            
            in package
            
        
    
            
            implements
                            DiffOutputBuilderInterface                    
    
    
FinalYes
Builds a diff string representation in a loose unified diff format listing only changes lines. Does not include line numbers.
Table of Contents
Interfaces
- DiffOutputBuilderInterface
- Defines how an output builder should take a generated diff array and return a string representation of that diff.
Properties
- $header : string
Methods
- __construct() : mixed
- getDiff() : string
Properties
$header
    private
        string
    $header
    
    
    
    
    
Methods
__construct()
    public
                    __construct([string $header = "--- Original
+++ New
" ]) : mixed
    Parameters
- $header : string = "--- Original +++ New "
getDiff()
    public
                    getDiff(array<string|int, mixed> $diff) : string
    Parameters
- $diff : array<string|int, mixed>