| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php namespace Arcanesoft\Auth\Seeds\Foundation; |
||
| 21 | public function run() |
||
| 22 | { |
||
| 23 | $this->seed([ |
||
| 24 | [ |
||
| 25 | 'name' => 'Administrator', |
||
| 26 | 'description' => 'The system administrator role.', |
||
| 27 | ], |
||
| 28 | [ |
||
| 29 | 'name' => 'Moderator', |
||
| 30 | 'description' => 'The system moderator role.', |
||
| 31 | ], |
||
| 32 | [ |
||
| 33 | 'name' => 'Member', |
||
| 34 | 'description' => 'The member role.', |
||
| 35 | ], |
||
| 36 | [ |
||
| 37 | 'name' => 'Auth Moderator', |
||
| 38 | 'description' => 'The auth moderator role.', |
||
| 39 | ], |
||
| 40 | ]); |
||
| 41 | |||
| 42 | $this->syncRoles([ |
||
| 43 | 'auth-moderator' => 'auth.', |
||
| 44 | ]); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |