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