public function getTypeFromTypeHint($typeHint)
{
if ($typeHint === null || $typeHint === '') {
return $this->nativeTypes[INativeType::TYPE_MIXED];
}
if (strcasecmp($typeHint, 'callable') === 0) {
return $this->nativeTypes[INativeType::TYPE_MIXED];
} elseif (strcasecmp($typeHint, 'array') === 0) {
return $this->nativeTypes[INativeType::TYPE_ARRAY];
} else {
return $this->getObjectType($typeHint);
}
}