UserAgentParser\Provider\Http\UserAgentApiCom::hydrateBot PHP Method

hydrateBot() private method

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