DeviceDetector\DeviceDetector::parseBot PHP Метод

parseBot() защищенный Метод

Parses the UA for bot information using the Bot parser
protected parseBot ( )
    protected function parseBot()
    {
        if ($this->skipBotDetection) {
            $this->bot = false;
            return false;
        }
        $botParser = new Bot();
        $botParser->setUserAgent($this->getUserAgent());
        $botParser->setYamlParser($this->getYamlParser());
        $botParser->setCache($this->getCache());
        if ($this->discardBotInformation) {
            $botParser->discardDetails();
        }
        $this->bot = $botParser->parse();
    }