Skip to content

DifferInterface

github-actions edited this page Apr 19, 2026 · 1 revision

Defines the contract for generating unified diffs.


  • Full name: \FastForward\DevTools\Resource\DifferInterface

Methods

diff

Generates a unified diff between current and updated content.

public diff(string $currentContent, string $updatedContent): string

Parameters:

Parameter Type Description
$currentContent string the current content
$updatedContent string the updated content

Return Value:

the unified diff


Clone this wiki locally