Completed
Push — master ( e1557a...9ecdc0 )
by Andrey
08:04
created

MultSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
<?php
2
namespace Database\Seeders;
3
4
use DB;
5
use Illuminate\Database\Seeder;
6
7
/**
8
 * Class MultSeeder
9
 *
10
 * @package Database\Seeders
11
 *
12
 * @author Andrey Girnik <[email protected]>
13
 */
14
class MultSeeder extends Seeder
15
{
16
    /**
17
     * Insert a new entry in to the languages table.
18
     * @return void
19
     */
20
    public function run()
21
    {
22
        DB::statement("INSERT INTO languages(`locale`, `short_name`, `name`, `default`, `created_at`, `updated_at`) VALUES ('en-EN', 'en', 'English', 1, NOW(), NOW())");
23
    }
24
}
25