Constraint
Methods
- firstViolation() : int|null
- Index of the first row that violates; state advances over the rows before it.
- toString() : string
- violation() : string
Methods
firstViolation()
Index of the first row that violates; state advances over the rows before it.
public
firstViolation(Rows $rows) : int|null
Parameters
- $rows : Rows
Return values
int|nulltoString()
public
toString() : string
Return values
stringviolation()
public
violation(Rows $rows, int $index) : string
Parameters
- $rows : Rows
- $index : int