LaRbacDatabaseSeeder::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
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