NukeViet\Client\Browser::getChromeVersionOnIos PHP Метод

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

Detect Version for the Chrome browser on iOS devices
protected getChromeVersionOnIos ( ) : boolean
Результат boolean True if it detects the version correctly otherwise false
    protected function getChromeVersionOnIos()
    {
        $aresult = explode('/', stristr($this->_agent, 'CriOS'));
        if (isset($aresult[1])) {
            $aversion = explode(' ', $aresult[1]);
            $this->setVersion($aversion[0]);
            $this->setBrowser(self::BROWSER_CHROME, self::BROWSER_CHROME_NAME);
            return true;
        }
        return false;
    }