Suppose you have written Redirect code as follows:
public function destroy($id)
$user = User::find($id);
Then when you are debugging it’s showing the error as:Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class ‘App\Http\Controllers\Redirect’ not found
The solution is, you have to import the following class in controller.