Method | Description | |
---|---|---|
__construct ( |
Construct a new difference engine. | |
difference ( string $from, string $to ) : string | Get the difference between the supplied strings. | |
instance ( ) : |
Get the static instance of this engine. | |
setUseColor ( boolean | null $useColor ) | Turn on or off the use of ANSI colored output. |
public __construct ( |
||
$featureDetector | The feature detector to use. |
public static instance ( ) : |
||
return | The static engine. |
public setUseColor ( boolean | null $useColor ) | ||
$useColor | boolean | null | True to use color. |