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()
    {   
        User::factory(10)->create();
        Curso::factory(50)->create();
    }
public function run ( ) { User :: factory ( 10 ) -> create ( ) ; Curso :: factory ( 50 ) -> create ( ) ; }
Seed the application's database.
Seed the application ' s database .