You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i use literal your example this happens: Class 'Slim\Http\Request' not found in C:\Users\...\Documents\NewProject\vendor\zguillez\slim-mobile-detect\src\Http\MobileRequest.php on line 7
Also when I try to add the method in a controller (e.g. HomeController). Before the functions I declare the function:
use Slim\Http\MobileRequest as MobileRequest;
class HomeController
{
public function mobile($request, $response, $args)
{
$request = new MobileRequest($request);
}
}
// Same error: Class 'Slim\Http\Request' not found in C:\Users...\Documents\NewProject\vendor\zguillez\slim-mobile-detect\src\Http\MobileRequest.php on line 7
Could you help me?
The text was updated successfully, but these errors were encountered:
I experience a challenge when running.
If i use literal your example this happens:
Class 'Slim\Http\Request' not found in C:\Users\...\Documents\NewProject\vendor\zguillez\slim-mobile-detect\src\Http\MobileRequest.php on line 7
Also when I try to add the method in a controller (e.g. HomeController). Before the functions I declare the function:
// Same error: Class 'Slim\Http\Request' not found in C:\Users...\Documents\NewProject\vendor\zguillez\slim-mobile-detect\src\Http\MobileRequest.php on line 7
Could you help me?
The text was updated successfully, but these errors were encountered: