I have a problem with my PHP Exception class in Laravel.
I am creating a class in \App\Services folder.
I have created some test code where I have the following:
if (!in_array($variables, $validParameters)) {
throw new Exception("Invalid parameter types: ".str_replace(")(", ", ", $variables));
}
And I get the following error:
Class 'App\Services\Exception' not found
How I can fix this problem?