laminas-inputfilter is used within a form and this component sets a second parameter for the isValid method of a validator / validator chain:
The second parameter contains all the values set for the form / input filter.
Check the Identical validator as reference for the usage: