1 | <?php |
||
12 | class RoleSeeder extends Seeder |
||
13 | { |
||
14 | /** |
||
15 | * Run the database seeds. |
||
16 | * @return void |
||
17 | */ |
||
18 | public function run() |
||
72 | |||
73 | /** |
||
74 | * Create role record in database. |
||
75 | * @param string $slug |
||
76 | * @param string $description |
||
77 | * @param array $permissions |
||
78 | * @return void |
||
79 | */ |
||
80 | private function createRecord(string $slug, string $description, array $permissions): void |
||
89 | } |
||
90 |