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