Class EqualsValidator
Validates if a value is equal to another.
- Flikore\Validator\Validator implements Flikore\Validator\Interfaces\IValidator
- Flikore\Validator\Validators\EqualsValidator
Direct known subclasses
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.3
CustomKey: %compare% The value to be compared to.
CustomKey: %strict% Whether the comparison is done in strict form.
Located at Flikore/Validator/Validators/EqualsValidator.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.3
CustomKey: %compare% The value to be compared to.
CustomKey: %strict% Whether the comparison is done in strict form.
Located at Flikore/Validator/Validators/EqualsValidator.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
string
|
$message |
#
The error message for this validator. |
protected
mixed
|
$compare |
#
The value to be compared to. |
protected
boolean
|
$strict |
#
Whether the comparison should be done in strict form. |