Açıklama Yok

CourseSeeder.php 252B

1234567891011121314151617
  1. <?php
  2. use Illuminate\Database\Seeder;
  3. use App\Course;
  4. class CourseSeeder extends Seeder
  5. {
  6. /**
  7. * Run the database seeds.
  8. *
  9. * @return void
  10. */
  11. public function run()
  12. {
  13. factory(Course::class, 30)->create();
  14. }
  15. }