DiffUtility
Read onlyYes
Helper service to create a diff HTML of two strings.
It is currently a facade for lolli42/finediff.
Table of Contents
Methods
- diff() : string
Methods
diff()
public
diff(string $from, string $to[, DiffGranularity $granularity = DiffGranularity::WORD ]) : string
Parameters
- $from : string
- $to : string
- $granularity : DiffGranularity = DiffGranularity::WORD