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