Editor PHP 2.4.0

StrictUnifiedDiffOutputBuilder
in package
implements DiffOutputBuilderInterface

FinalYes

Strict Unified diff output builder.

Generates (strict) Unified diff's (unidiffs) with hunks.

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

__construct()  : mixed
getDiff()  : string

Methods

__construct()

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

getDiff()

public getDiff(array<string|int, mixed> $diff) : string
Parameters
$diff : array<string|int, mixed>
Return values
string

        
On this page

Search results