Redaxscript\Template\Helper::_getDeviceArray PHP Method

_getDeviceArray() protected static method

get the device array
Since: 3.0.0
protected static _getDeviceArray ( ) : array
return array
    protected static function _getDeviceArray()
    {
        foreach (self::$_deviceArray as $system => $value) {
            $device = Registry::get($value);
            if ($device) {
                return [$system, $device];
            }
        }
    }