class cron_list extends command

Properties

protected user $user from  command
protected manager $cron_manager

Methods

__construct(user $user, manager $cron_manager)

Constructor

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

Create a styled progress bar

from  command
configure()

{@inheritdoc}

void
execute(InputInterface $input, OutputInterface $output)

Executes the command cron:list.

Details

at line 30
__construct(user $user, manager $cron_manager)

Constructor

Parameters

user $user

User instance (mostly for translation)

manager $cron_manager

Cron manager

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

{@inheritdoc}

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

Executes the command cron:list.

Prints a list of ready and unready cron jobs.

Parameters

InputInterface $input

An InputInterface instance

OutputInterface $output

An OutputInterface instance

Return Value

void