reparse
class reparse extends command
Properties
protected user | $user | from command | |
protected InputInterface | $input | ||
protected SymfonyStyle | $io | ||
protected OutputInterface | $output | ||
protected db | $reparse_lock | ||
protected manager | $reparser_manager | ||
protected service_collection | $reparsers | ||
protected array | $resume_data |
Methods
__construct(user $user, db $reparse_lock, manager $reparser_manager, service_collection $reparsers)
Constructor
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
from
command
void
configure()
Sets the command name and description
int
execute(InputInterface $input, OutputInterface $output)
Executes the command reparser:reparse
int
get_option(string $option_name)
Get an option value, adjusted for given reparser
reparse(string $name)
Reparse all text handled by given reparser within given range
Details
at line 69
__construct(user $user, db $reparse_lock, manager $reparser_manager, service_collection $reparsers)
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 84
protected void
configure()
Sets the command name and description
at line 138
protected int
execute(InputInterface $input, OutputInterface $output)
Executes the command reparser:reparse
at line 179
protected int
get_option(string $option_name)
Get an option value, adjusted for given reparser
Will use the last saved value if --resume is set and the option was not specified on the command line
at line 195
protected
reparse(string $name)
Reparse all text handled by given reparser within given range