Lines Matching +full:i +full:- +full:mobile
4 * Device Detector - The Universal Device Detection library for parsing User Agents
18 * Represents `Sec-CH-UA-Arch` header field: The underlying architecture's instruction set
25 * Represents `Sec-CH-UA-Bitness` header field: The underlying architecture's bitness
32 …* Represents `Sec-CH-UA-Mobile` header field: whether the user agent should receive a specifically…
36 protected $mobile = false; variable in DeviceDetector\\ClientHints
39 * Represents `Sec-CH-UA-Model` header field: the user agent's underlying device model
46 * Represents `Sec-CH-UA-Platform` header field: the platform's brand
53 * Represents `Sec-CH-UA-Platform-Version` header field: the platform's major version
60 * Represents `Sec-CH-UA-Full-Version` header field: the platform's major version
67 …* Represents `Sec-CH-UA-Full-Version-List` header field: the full version for each brand in its br…
74 * Represents `x-requested-with` header field: Android app id
80 * Represents `Sec-CH-UA-Form-Factors` header field: form factor device type name
89 * @param string $model `Sec-CH-UA-Model` header field
90 * @param string $platform `Sec-CH-UA-Platform` header field
91 * @param string $platformVersion `Sec-CH-UA-Platform-Version` header field
92 * @param string $uaFullVersion `Sec-CH-UA-Full-Version` header field
93 * @param array $fullVersionList `Sec-CH-UA-Full-Version-List` header field
94 * @param bool $mobile `Sec-CH-UA-Mobile` header field
95 * @param string $architecture `Sec-CH-UA-Arch` header field
96 * @param string $bitness `Sec-CH-UA-Bitness`
97 * @param string $app `HTTP_X-REQUESTED-WITH`
98 * @param array $formFactors `Sec-CH-UA-Form-Factors` header field
100 …ion = '', string $uaFullVersion = '', array $fullVersionList = [], bool $mobile = false, string $a… argument
102 $this->model = $model;
103 $this->platform = $platform;
104 $this->platformVersion = $platformVersion;
105 $this->uaFullVersion = $uaFullVersion;
106 $this->fullVersionList = $fullVersionList;
107 $this->mobile = $mobile;
108 $this->architecture = $architecture;
109 $this->bitness = $bitness;
110 $this->app = $app;
111 $this->formFactors = $formFactors;
126 return $this->$variable;
139 return $this->mobile;
149 return $this->architecture;
159 return $this->bitness;
169 return $this->model;
179 return $this->platform;
189 return $this->platformVersion;
199 if (\is_array($this->fullVersionList) && \count($this->fullVersionList)) {
200 $brands = \array_column($this->fullVersionList, 'brand');
201 $versions = \array_column($this->fullVersionList, 'version');
204 // @phpstan-ignore-next-line
219 if (!empty($this->uaFullVersion)) {
220 return $this->uaFullVersion;
233 return $this->app;
243 return $this->formFactors;
257 $mobile = false;
266 switch (\str_replace('_', '-', \strtolower((string) $name))) {
267 case 'http-sec-ch-ua-arch':
268 case 'sec-ch-ua-arch':
274 case 'http-sec-ch-ua-bitness':
275 case 'sec-ch-ua-bitness':
280 case 'http-sec-ch-ua-mobile':
281 case 'sec-ch-ua-mobile':
282 case 'mobile':
283 $mobile = true === $value || '1' === $value || '?1' === $value;
286 case 'http-sec-ch-ua-model':
287 case 'sec-ch-ua-model':
292 case 'http-sec-ch-ua-full-version':
293 case 'sec-ch-ua-full-version':
298 case 'http-sec-ch-ua-platform':
299 case 'sec-ch-ua-platform':
304 case 'http-sec-ch-ua-platform-version':
305 case 'sec-ch-ua-platform-version':
319 case 'http-sec-ch-ua':
320 case 'sec-ch-ua':
325 case 'http-sec-ch-ua-full-version-list':
326 case 'sec-ch-ua-full-version-list':
340 case 'http-x-requested-with':
341 case 'x-requested-with':
348 case 'http-sec-ch-ua-form-factors':
349 case 'sec-ch-ua-form-factors':
352 } elseif (\preg_match_all('~"([a-z]+)"~i', \strtolower($value), $matches)) {
366 $mobile,