class install extends command

Properties

protected user $user from  command
protected factory $iohandler_factory
protected installer $installer
protected install_helper $install_helper
protected language $language

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
configure()

{@inheritdoc}

int
execute(InputInterface $input, OutputInterface $output)

Executes the command install.

Details

at line 64
__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
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

at line 77
protected configure()

{@inheritdoc}

at line 100
protected int execute(InputInterface $input, OutputInterface $output)

Executes the command install.

Install the board

Parameters

InputInterface $input

An InputInterface instance

OutputInterface $output

An OutputInterface instance

Return Value

int

0 if everything went fine, or a non-zero exit code

Exceptions

iohandler_not_implemented_exception