Completed
Push — master ( f9e78a...edb43e )
by Abdelrahman
09:22
created

DatabaseSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 10 1
1
<?php
2
3
/*
4
 * NOTICE OF LICENSE
5
 *
6
 * Part of the Rinvex Fort Package.
7
 *
8
 * This source file is subject to The MIT License (MIT)
9
 * that is bundled with this package in the LICENSE file.
10
 *
11
 * Package: Rinvex Fort Package
12
 * License: The MIT License (MIT)
13
 * Link:    https://rinvex.com
14
 */
15
16
namespace Rinvex\Fort\Seeds;
17
18
use Illuminate\Database\Seeder;
19
use Illuminate\Database\Eloquent\Model;
20
21
class DatabaseSeeder extends Seeder
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function run()
27
    {
28
        Model::unguard();
29
30
        $this->call(AbilitiesSeeder::class);
31
        $this->call(RolesSeeder::class);
32
        $this->call(UsersSeeder::class);
33
34
        Model::reguard();
35
    }
36
}
37