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([RoleSeeder::class, AdminSeeder::class]);
        User::factory(9)->create();
    }
public function run ( ) { $ this -> call ( [ RoleSeeder :: class , AdminSeeder :: class ] ) ; User :: factory ( 9 ) -> create ( ) ; }
Seed the application's database.
Seed the application ' s database .