phpBB API Documentation
Class

phpbb\console\command\cache\purge

class purge extends command

Methods

__construct(user $user, driver_interface $cache, driver_interface $db, auth $auth, log_interface $log, config $config)

Constructor

ProgressBar create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)

Create a styled progress bar

from command

Details

at line 46
public __construct(user $user, driver_interface $cache, driver_interface $db, auth $auth, log_interface $log, config $config)

Constructor

Parameters

user $user User instance
driver_interface $cache Cache instance
driver_interface $db Database connection
auth $auth Auth instance
log_interface $log Logger instance
config $config Config instance

in command at line 45
public ProgressBar create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)

Create a styled progress bar

Parameters

int $max Max value for the progress bar
SymfonyStyle $io Symfony style output decorator
OutputInterface $output The output stream, used to print messages
bool $message Should we display message output under the progress bar?

Return Value

ProgressBar