class disable extends command

Properties

protected user $user from  command
protected manager $manager from  command
protected log $log from  command
protected string $cache_driver_class from  command

Methods

__construct(user $user, manager $manager, log $log, string $cache_driver_class)

Constructor.

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

Create a styled progress bar

from  command
void
check_apcu_cache(SymfonyStyle $io)

Check if APCu cache driver is used and enabled for CLI, otherwise display a notice.

from  command
configure()

No description

execute(InputInterface $input, OutputInterface $output)

No description

Details

in command at line 36
__construct(user $user, manager $manager, log $log, string $cache_driver_class)

Constructor.

Parameters

user $user

User instance (mostly for translation)

manager $manager

Extension manager object

log $log

Log object

string $cache_driver_class

Cache driver class

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

in command at line 51
protected void check_apcu_cache(SymfonyStyle $io)

Check if APCu cache driver is used and enabled for CLI, otherwise display a notice.

Parameters

SymfonyStyle $io

Return Value

void

at line 22
protected configure()

No description

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

No description

Parameters

InputInterface $input
OutputInterface $output