1 | <?php |
||
34 | 1 | final class MobileDetect extends \Detection\MobileDetect |
|
35 | { |
||
36 | /** |
||
37 | * @var Helpers\DeviceView |
||
38 | */ |
||
39 | private $deviceView; |
||
40 | |||
41 | /** |
||
42 | * @param Helpers\DeviceView $deviceView |
||
43 | * @param Http\Request $httpRequest |
||
44 | */ |
||
45 | public function __construct( |
||
64 | |||
65 | /** |
||
66 | * Check if the device is mobile phone |
||
67 | * |
||
68 | * @return bool |
||
69 | */ |
||
70 | public function isPhone() : bool |
||
74 | |||
75 | /** |
||
76 | * Check if the device is not mobile phone |
||
77 | * |
||
78 | * @return bool |
||
79 | */ |
||
80 | public function isNotPhone() : bool |
||
84 | } |
||
85 |