AuthorizationRolesSeeder_2   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 8 1
1
<?php
2
3
namespace App\Containers\Authorization\Data\Seeders;
4
5
use Apiato\Core\Foundation\Facades\Apiato;
6
use App\Ship\Parents\Seeders\Seeder;
7
8
/**
9
 * Class AuthorizationRolesSeeder_2
10
 *
11
 * @author  Mahmoud Zalt  <[email protected]>
12
 */
13
class AuthorizationRolesSeeder_2 extends Seeder
14
{
15
16
    /**
17
     * Run the database seeds.
18
     *
19
     * @return void
20
     */
21
    public function run()
22
    {
23
        // Default Roles ----------------------------------------------------------------
24
        Apiato::call('[email protected]', ['admin', 'Administrator', 'Administrator Role', 999]);
25
26
        // ...
27
28
    }
29
}
30