Class InstanceOfValidator
Validates that the value is an instance of a certain class.
- Flikore\Validator\Validator implements Flikore\Validator\Interfaces\IValidator
- Flikore\Validator\Validators\InstanceOfValidator
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: %class% The name of the valid class.
Located at Flikore/Validator/Validators/InstanceOfValidator.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: %class% The name of the valid class.
Located at Flikore/Validator/Validators/InstanceOfValidator.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
mixed
|
$class |
#
The class which the value must be instance of. |
protected
string
|
$message |
#
The error message for this validator. |