| 1 | <?php |
||
| 9 | class CreateRole extends Command |
||
| 10 | { |
||
| 11 | protected $signature = 'permission:create-role |
||
| 12 | {name : The name of the role} |
||
| 13 | {guard? : The name of the guard} |
||
| 14 | {permissions? : A list of permissions to assign to the role, separated by | }'; |
||
| 15 | |||
| 16 | protected $description = 'Create a role'; |
||
| 17 | |||
| 18 | public function handle() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param array|null|string $string |
||
| 31 | */ |
||
| 32 | protected function makePermissions($string = null) |
||
| 50 | } |
||
| 51 |