WikiLambda
MediaWiki WikiLambda extension
Loading...
Searching...
No Matches
MediaWiki\Extension\WikiLambda\Diff\ZObjectMapDiffer Class Reference

Public Member Functions

 __construct (ZObjectListDiffer $listDiffer, ValueComparer $comparer)
 Creates a ZObjectMapDiffer object.
 
 doDiff (array $oldValues, array $newValues)
 Computes the diff between two ZObject associate arrays.
 

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\WikiLambda\Diff\ZObjectMapDiffer::__construct ( ZObjectListDiffer $listDiffer,
ValueComparer $comparer )

Creates a ZObjectMapDiffer object.

Parameters
ZObjectListDiffer$listDiffer
ValueComparer$comparer

Member Function Documentation

◆ doDiff()

MediaWiki\Extension\WikiLambda\Diff\ZObjectMapDiffer::doDiff ( array $oldValues,
array $newValues )

Computes the diff between two ZObject associate arrays.

Parameters
array$oldValuesThe first array
array$newValuesThe second array
Exceptions
Exception
Returns
DiffOp[]

The documentation for this class was generated from the following file: