NAME

Input::Validator::ConstraintBuilder - Constraint factory

SYNOPSIS

$field->constraint(length => [1, 2]);

DESCRIPTION

A factory class for constraints. Build a new object.

METHODS

build

Input::Validator::ConstraintBuilder->build('length' => [1, 3]);

Build a new constraint object passing all additional parameters.