phpBB API Documentation
Class

phpbb\install\console\command\update\update

class update extends command

Methods

__construct(language $language, factory $factory, installer $installer, install_helper $install_helper)

Constructor

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

Create a styled progress bar

from command

Details

at line 62
public __construct(language $language, factory $factory, installer $installer, install_helper $install_helper)

Constructor

Parameters

language $language
factory $factory
installer $installer
install_helper $install_helper

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