Class ExactLengthValidator
Validates that the number of characters of the value is exactly a given amount.
- Flikore\Validator\Validator implements Flikore\Validator\Interfaces\IValidator
- Flikore\Validator\Validators\ExactLengthValidator
Namespace: Flikore\Validator\Validators
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.2
CustomKey: %length% The exact valid length.
Located at Flikore/Validator/Validators/ExactLengthValidator.php
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.2
CustomKey: %length% The exact valid length.
Located at Flikore/Validator/Validators/ExactLengthValidator.php
Methods summary
public
|
|
protected
boolean
|
Methods inherited from Flikore\Validator\Validator
addKeyValue()
,
applyTemplate()
,
assert()
,
getErrorMessage()
,
isEmpty()
,
setErrorMessage()
,
validate()
Magic methods summary
Properties summary
protected
integer
|
$length |
#
The exact valid length. |
protected
string
|
$message |
#
The error message for this validator. |