Skip to content

Commit

Permalink
doc: add UserManager ROLES as a suggestion (#65)
Browse files Browse the repository at this point in the history
Of course, UserManager now needs 

     const ROLES=['ROLE_ADMIN','ROLE_USER']
  • Loading branch information
tacman committed Feb 20, 2024
1 parent e99d5f6 commit 1808504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -22,7 +22,7 @@ final class CreateUserCommand extends InvokableServiceCommand
#[Argument]
string $password,

#[Option(name: 'role', shortcut: 'r')]
#[Option(name: 'role', shortcut: 'r', suggestions: UserMananger:ROLES)]
array $roles,
): void {
$userManager->createUser($email, $password, $roles);
Expand Down

0 comments on commit 1808504

Please sign in to comment.