Documentation

Parser
in package

Unified diff parser.

Table of Contents

parse()  : array<string|int, Diff>
parseFileDiff()  : void

Methods

parse()

public parse(string $string) : array<string|int, Diff>
Parameters
$string : string
Return values
array<string|int, Diff>

parseFileDiff()

private parseFileDiff(Diff $diff, array<string|int, mixed> $lines) : void
Parameters
$diff : Diff
$lines : array<string|int, mixed>
Return values
void

Search results