1 | <?php |
||
33 | 1 | final class MobileDetect extends Agent\Agent |
|
34 | { |
||
35 | /** |
||
36 | * @var Helpers\DeviceView |
||
37 | */ |
||
38 | private $deviceView; |
||
39 | |||
40 | /** |
||
41 | * @param Helpers\DeviceView $deviceView |
||
42 | * @param Http\Request $httpRequest |
||
43 | */ |
||
44 | public function __construct( |
||
63 | |||
64 | /** |
||
65 | * Check if the device is not mobile phone |
||
66 | * |
||
67 | * @return bool |
||
68 | */ |
||
69 | public function isNotPhone() : bool |
||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function view() : string |
||
81 | |||
82 | /** |
||
83 | * @return string |
||
84 | */ |
||
85 | public function browserVersion() : string |
||
89 | |||
90 | /** |
||
91 | * @return string |
||
92 | */ |
||
93 | public function platformVersion() : string |
||
97 | } |
||
98 |