private function hydrateBot(Model\Bot $bot, stdClass $resultRaw)
{
$bot->setIsBot(true);
if (isset($resultRaw->browser_name)) {
$bot->setName($this->getRealResult($resultRaw->browser_name));
}
if (isset($resultRaw->software_sub_type)) {
$bot->setType($this->getRealResult($resultRaw->software_sub_type));
}
}