protected function getValidatorType($type)
{
switch ($type) {
case 'int':
$type = 'Integer';
break;
case 'bool':
$type = 'Boolean';
break;
case 'double':
$type = 'Float';
break;
case 'numeric':
$type = 'Number';
break;
case 'mixed':
$type = 'Raw';
break;
default:
$type = ucfirst($type);
}
return $type;
}