Bez popisu

ProfessorSeeder.php 261B

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