I used this "mobiledetect/mobiledetectlib": "^2.8" pkg of laravel for device detection and want to print the userAgent value.I call this method
$this->device = new MobileDetect();
dd($this->device)
now i want to print userAgent value. I have tried these code but not working.
dd($this->device->userAgent,$this->device["userAgent"]);
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3eX6lXJ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire