delete
class delete extends command
Properties
protected user | $user | from command | |
protected language | $language | ||
protected log_interface | $log | ||
protected user_loader | $user_loader | ||
protected string | $phpbb_root_path | phpBB root path |
|
protected string | $php_ext | PHP extension. |
Methods
__construct(user $user, language $language, log_interface $log, user_loader $user_loader, string $phpbb_root_path, string $php_ext)
Construct method
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
from
command
null
configure()
Sets the command name and description
int
execute(InputInterface $input, OutputInterface $output)
Executes the command user:delete
interact(InputInterface $input, OutputInterface $output)
Interacts with the user.
Details
at line 64
__construct(user $user, language $language, log_interface $log, user_loader $user_loader, string $phpbb_root_path, string $php_ext)
Construct method
in
command at line 45
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
at line 81
protected null
configure()
Sets the command name and description
at line 111
protected int
execute(InputInterface $input, OutputInterface $output)
Executes the command user:delete
Deletes a user from the database. An option to delete the user's posts is available, by default posts will be retained.
at line 151
protected
interact(InputInterface $input, OutputInterface $output)
Interacts with the user.
Confirm they really want to delete the account...last chance!