You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/database/seeders/XlangSeeder.php

27 lines
485 B
PHTML

<?php
namespace Database\Seeders;
use App\Models\Xlang;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class XlangSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
$lang = new Xlang();
$lang->tag = 'fa';
$lang->rtl = true;
$lang->is_default = true;
$lang->name = 'پارسی';
$lang->save();
}
}