Laravel this is not only a practical framework, it is also a programming style
I am using laravel 5.0. How do I get the user agent from $request in a controller ?
public function index(Request $request) { $useragent = $request->userAgent; // ???? return $useragent; }
Aucun commentaire:
Enregistrer un commentaire