DifferInterface

Interface

Defines the contract for generating unified diffs.

Table of Contents

Methods

diff()

Generates a unified diff between current and updated content.

 : string
Methods

diff()

Public

Generates a unified diff between current and updated content.

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

Description

the current content

$updatedContent : string

Description

the updated content

Return values
string

Description

the unified diff