database/seeders/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        $this->call(BrandsSeeder::class);
        $this->call(CategoriesSeeder::class);
        $this->call(MaterialsSeeder::class);
        $this->call(SuppliersSeeder::class);
        $this->call(UserTableSeeder::class);
        $this->call(ProductsSeeder::class);
    }
public function run ( ) { $ this -> call ( BrandsSeeder :: class ) ; $ this -> call ( CategoriesSeeder :: class ) ; $ this -> call ( MaterialsSeeder :: class ) ; $ this -> call ( SuppliersSeeder :: class ) ; $ this -> call ( UserTableSeeder :: class ) ; $ this -> call ( ProductsSeeder :: class ) ; }
Seed the application's database.
Seed the application ' s database .
// \App\Models\User::factory(10)->create();