|
NAMEInput::Validator::Constraint::Length - Length constraint SYNOPSIS $validator->field('name')->length(10);
$validator->field('name')->length(1, 40);
DESCRIPTIONChecks whether the value is exactly "n" characters length, or is between "n, m" values. METHODS"is_valid"Validates the constraint. SEE ALSOInput::Validator, Input::Constraint
|