Sometimes you may wish to update
a given model without dispatching any events. You may accomplish this using the updateQuietly
method
1Post::factory()->createOneQuietly();2 3Post::factory()->count(3)->createQuietly();4 5Post::factory()->createManyQuietly([6 ['message' => 'A new comment'],7 ['message' => 'Another new comment'],8]);