for(Customer::factory()->create()) ->create(); Customer::factory(10) ->has(Contact::factory(3)) ->create(); User::factory()->create([ 'name' => 'Test User', 'email' => 'test@example.com', ]); } }