database/seeds/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
     	User::truncate();
     	factory(App\User::class, 20)->create();   
    }
public function run ( ) { User :: truncate ( ) ; factory ( App \ User :: class , 20 ) -> create ( ) ; }
Run the database seeds.
Run the database seeds .