Completed
Push — master ( 173874...712b6b )
by Andrey
08:18
created

LaRbacDatabaseSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 1
1
<?php
2
namespace Database\Seeders;
3
4
use Illuminate\Database\Seeder;
5
6
/**
7
 * Class LaRbacDatabaseSeeder
8
 *
9
 * @author Andrey Girnik <[email protected]>
10
 */
11
class LaRbacDatabaseSeeder extends Seeder
12
{
13
    /**
14
     * Seed the application's database with RBAC data.
15
     * @return void
16
     */
17
    public function run()
18
    {
19
        $this->call(PermissionSeeder::class);
20
        $this->call(RoleSeeder::class);
21
    }
22
}
23