mirror of https://github.com/4xmen/xshop.git
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.
27 lines
485 B
PHTML
27 lines
485 B
PHTML
12 months ago
|
<?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();
|
||
|
}
|
||
|
}
|