Completed
Push — master ( e43e24...a5d827 )
by ARCANEDEV
05:31
created

RoleTableSeeder::seed()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
ccs 0
cts 6
cp 0
rs 9.4286
cc 2
eloc 3
nc 2
nop 1
crap 6
1
<?php namespace Arcanesoft\Auth\Seeds\Foundation;
2
3
use Arcanesoft\Auth\Seeds\RolesSeeder;
4
5
/**
6
 * Class     RoleTableSeeder
7
 *
8
 * @package  Arcanesoft\Auth\Seeds\Foundation
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class RoleTableSeeder extends RolesSeeder
12
{
13
    /* ------------------------------------------------------------------------------------------------
14
     |  Main Functions
15
     | ------------------------------------------------------------------------------------------------
16
     */
17
    /**
18
     * Run the database seeds.
19
     */
20
    public function run()
21
    {
22
        $this->seed([
23
            [
24
                'name'        => 'Administrator',
25
                'description' => 'The system administrator role.',
26
                'is_locked'   => true,
27
            ],[
28
                'name'        => 'Member',
29
                'description' => 'The member role.',
30
                'is_locked'   => true,
31
            ]
32
        ]);
33
    }
34
}
35