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