requiredWithout.php
Table of Contents
Functions
- requiredWithout() : string
- Generates the 'required_without:field1,field2,...' rule expression.
Functions
requiredWithout()
Generates the 'required_without:field1,field2,...' rule expression.
requiredWithout(string ...$fields) : string
The field under validation must be present and not empty only when any of the other specified fields are not present.
Parameters
- $fields : string