API DataValidator_Filters MatchFilter - chsxf/mfx GitHub Wiki

MatchFilter Class

chsxf\MFX\DataValidator\Filters

class MatchFilter extends chsxf\MFX\DataValidator\AbstractOtherFieldFilter

Summary

Description of a filter validating when the field's matched another field's one

Since 1.0

Methods

__construct

public function __construct(DataValidator\Field|array $otherFields, ?string $message = null)

Constructor

Since 1.0

Parameters

Name Type Description
$otherFields `Field array`
$message string Error message