I'm Watching Learning Laravel 11.
I installed Laravel 12.
In Episode 10 Jeffrey is in "HasFactory.php" but I don't find it. When I'm writing it in the search window with CTRL+p nothing is displayed. And I'm a beginner, so I realy don't know what to do.
May someone know why I don't have it and how I can get it?
The HasFactory class is in vendor/laravel/framework/src/Illuminate/Database/Eloquent/Factories/HasFactory.php, so the FQCN is Illuminate\Database\Eloquent\Factories\HasFactory. If your IDE cannot find it, then it probably has not properly indexed the project / vendor directory.