Parser
in package
Unified diff parser.
Table of Contents
- parse() : array<string|int, Diff>
- parseFileDiff() : mixed
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) : mixed
Parameters
- $diff : Diff
- $lines : array<string|int, mixed>