UserAgentParser\Provider\Http\UserAgentStringCom::isBot PHP 메소드

isBot() 개인적인 메소드

private isBot ( stdClass $resultRaw ) : boolean
$resultRaw stdClass
리턴 boolean
    private function isBot(stdClass $resultRaw)
    {
        if (isset($resultRaw->agent_type) && in_array($resultRaw->agent_type, $this->botTypes)) {
            return true;
        }
        return false;
    }