DiffOnlyOutputBuilder
in package
implements
DiffOutputBuilderInterface
Builds a diff string representation in a loose unified diff format listing only changes lines. Does not include line numbers.
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
- $header : string
- __construct() : mixed
- getDiff() : mixed
Properties
$header
private
string
$header
Methods
__construct()
public
__construct([mixed $header = "--- Original
+++ New
" ]) : mixed
Parameters
- $header : mixed = "--- Original +++ New "
Return values
mixed —getDiff()
public
getDiff(array<string|int, mixed> $diff) : mixed
Parameters
- $diff : array<string|int, mixed>