0
LGLevent Guvenc
In the code, User::factory() is a class that has a count() method. This method returns the number of users registered with the factory. After the count() method is executed, the create() method is invoked, which creates a new user object.
0 Comments
User::factory()->count(5)->create();