Laravel - Database - Applying States

You may also apply any of your states to the models. If you would like to apply multiple state transformations to the models, you may simply call the state transformation methods directly:

    
    $users = User::factory()->count(5)->suspended()->make();