Code

< 40 %
40-60 %
> 60 %
1
<?php
2
namespace Redaxscript\Client;
3
4
/**
5
 * children class to detect the desktop device
6
 *
7
 * @since 2.4.0
8
 *
9
 * @package Redaxscript
10
 * @category Client
11
 * @author Henry Ruhs
12
 */
13
14
class Desktop extends ClientAbstract
15
{
16
	/**
17
	 * automate run
18
	 *
19
	 * @since 2.4.0
20
	 */
21
22 13
	public function autorun() : void
23
	{
24 13
		$this->_detect(
25
		[
26 13
			'bsd',
27
			'linux',
28
			'ubuntu',
29
			'macintosh',
30
			'solaris',
31
			'windows'
32
		]);
33 13
	}
34
}
35