Code

< 40 %
40-60 %
> 60 %
1
<?php
2
namespace Redaxscript\Client;
3
4
/**
5
 * children class to detect the browser engine
6
 *
7
 * @since 2.4.0
8
 *
9
 * @package Redaxscript
10
 * @category Client
11
 * @author Henry Ruhs
12
 */
13
14
class Engine 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
			'gecko',
27
			'presto',
28
			'trident',
29
			'webkit',
30
			'edge'
31
		]);
32 13
	}
33
}
34