protected function verifyCastingSupport(Caster $caster, $method, $annotationType)
{
if (!method_exists($caster, $method)) {
$message = sprintf('You are trying to map a property wich seems not to have a standard type (%s). Do you have a typo in your annotation?' . 'If you think everything\'s ok, go check on %s class which property types are supported.', $annotationType, get_class($caster));
throw new Exception($message);
}
}