LaRbacDatabaseSeeder   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
c 0
b 0
f 0
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 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