I have an error when upgrading laravel 6
Symfony \\ Component \\ Debug \\ Exception \\ FatalThrowableError (E_ERROR) Class \'Illuminate\\Support\\F
use Input; add to the top of your class.
use Input;