1 | <?php |
||
36 | 1 | final class MobileDetect extends Agent\Agent |
|
37 | { |
||
38 | /** |
||
39 | * @var Helpers\DeviceView |
||
40 | */ |
||
41 | private $deviceView; |
||
42 | |||
43 | /** |
||
44 | * @param Helpers\DeviceView $deviceView |
||
45 | * @param Http\Request $httpRequest |
||
46 | */ |
||
47 | public function __construct( |
||
66 | |||
67 | /** |
||
68 | * Check if the device is not mobile phone |
||
69 | * |
||
70 | * @return bool |
||
71 | */ |
||
72 | public function isNotPhone() : bool |
||
76 | |||
77 | /** |
||
78 | * @return string |
||
79 | */ |
||
80 | public function view() : string |
||
84 | |||
85 | /** |
||
86 | * @return float|string |
||
87 | */ |
||
88 | public function browserVersion() |
||
92 | |||
93 | /** |
||
94 | * @return float|string |
||
95 | */ |
||
96 | public function platformVersion() |
||
100 | } |
||
101 |