delete
class delete extends command
Properties
protected user | $user | from command | |
protected config | $config | ||
protected driver_interface | $db | ||
protected string | $phpbb_root_path | phpBB root path |
Methods
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 thumbnail:delete.
commit_changes(array $thumbnail_deleted)
Commits the changes to the database
Details
at line 45
__construct(config $config, user $user, driver_interface $db, string $phpbb_root_path)
Constructor
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 59
protected null
configure()
Sets the command name and description
at line 77
protected int
execute(InputInterface $input, OutputInterface $output)
Executes the command thumbnail:delete.
Deletes all existing thumbnails and updates the database accordingly.
at line 153
protected
commit_changes(array $thumbnail_deleted)
Commits the changes to the database