keskonmange/database/seeders/MenuSeeder.php

20 lines
284 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Menu;
use Illuminate\Database\Seeder;
class MenuSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Menu::factory()->count(15)->create();
}
}