create(['category_type' => 'asset']); factory(Category::class, 'category', 10)->create(['category_type' => 'accessory']); factory(Category::class, 'category', 10)->create(['category_type' => 'consumable']); factory(Category::class, 'category', 10)->create(['category_type' => 'component']); } }