-
Notifications
You must be signed in to change notification settings - Fork 0
API DataValidator_Filters RequiredIfNotEmpty
Christophe SAUVEUR edited this page Apr 21, 2024
·
1 revision
chsxf\MFX\DataValidator\Filters
class RequiredIfNotEmpty extends chsxf\MFX\DataValidator\AbstractOtherFieldFilter
Description of a filter validating when provided along with other fields.
Since 1.0
public function __construct(DataValidator\Field|array $otherFields, ?string $message = null)
Constructor
Since 1.0
Name | Type | Description |
---|---|---|
$otherFields |
`Field | array` |
$message |
string |
Error message |
Getting Started | Framework Reference | API Reference | MFX is released under the MIT license