Error: Class 'App\Http\Controllers\String' not found in file code example
Example: Class 'App\Http\Controllers\File' not found
// in laravel append the following at the top of controller
use File;
// in laravel append the following at the top of controller
use File;