laravel version 6.18.8
i used this line to make a directory but it say Method Illuminate\Filesystem\Filesystem::mkdir does not exist.
$newDirectory = public_path() . 'img/reviews/' . Str::slug($request->title,'-');
File::mkdir($newDirectory);
i also used makeDirectory() that was also not working..
please help to make a directory using laravel