CreateUserDefaultCommand
extends Command
-
#[AsCommand]
-
$name: 'app:create-user-default'
-
$description: 'Create a user interactively'
Table of Contents
Properties
-
$entityManager
: EntityManagerInterface
-
$userPasswordHasher
: UserPasswordHasherInterface
Methods
-
__construct()
: mixed
-
execute()
: int
$entityManager
private
EntityManagerInterface
$entityManager
$userPasswordHasher
private
UserPasswordHasherInterface
$userPasswordHasher
__construct()
public
__construct(EntityManagerInterface $entityManager, UserPasswordHasherInterface $userPasswordHasher) : mixed
Parameters
-
$entityManager
: EntityManagerInterface
-
-
$userPasswordHasher
: UserPasswordHasherInterface
-
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
-
$input
: InputInterface
-
-
$output
: OutputInterface
-