endsWith.php
Table of Contents
Functions
- endsWith() : string
- Generates the 'ends_with:anotherField' rule expression.
Functions
endsWith()
Generates the 'ends_with:anotherField' rule expression.
endsWith(string $anotherField) : string
The field under this validation must end with another_field. Comparison can be against strings, numbers and array elements.
Parameters
- $anotherField : string
-
The another field to evaluates.