interface MergerInterface

Merger interface.

Methods

string|null
start(string $line, string $next)

Get a merged line from the current line and the next line.

Details

at line 17
string|null start(string $line, string $next)

Get a merged line from the current line and the next line.

Parameters

string $line

The current line.

string $next

The next line.

Return Value

string|null

The method return a merged line or return null on failure.