class UsersCommand extends Command (View source)

Command line utils for managing users from terminal.

Properties

protected $questionHelper
protected $entityManager

Methods

configure()

No description

execute(InputInterface $input, OutputInterface $output)

No description

getRole(string $roleName = Role::ROLE_SUPERADMIN)

Get role by name, and create it if does not exist.

Details

protected configure()

protected execute(InputInterface $input, OutputInterface $output)

Parameters

InputInterface $input
OutputInterface $output

Role getRole(string $roleName = Role::ROLE_SUPERADMIN)

Get role by name, and create it if does not exist.

Parameters

string $roleName

Return Value

Role