PHP Class BookStack\Console\Commands\RegeneratePermissions

Inheritance: extends Illuminate\Console\Command
Show file Open project: ssddanbrown/bookstack

Protected Properties

Property Type Description
$description string The console command description.
$permissionService BookStack\Services\PermissionService The service to handle the permission system.
$signature string The name and signature of the console command.

Public Methods

Method Description
__construct ( PermissionService $permissionService ) Create a new command instance.
handle ( ) : mixed Execute the console command.

Method Details

__construct() public method

Create a new command instance.
public __construct ( PermissionService $permissionService )
$permissionService BookStack\Services\PermissionService

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed

Property Details

$description protected property

The console command description.
protected string $description
return string

$permissionService protected property

The service to handle the permission system.
protected PermissionService,BookStack\Services $permissionService
return BookStack\Services\PermissionService

$signature protected property

The name and signature of the console command.
protected string $signature
return string