TasksListCommand

Extends AbstractCommand

Console command to list scheduled tasks.

since

4.1.0

package

Joomla CMS

Methods

configure

Configure the command.

configure() : 
since

4.1.0

Response

void

configureIO

Configure the IO.

configureIO(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) : 
since

4.1.0

Arguments

input

InputInterfaceThe input to inject into the command.

output

OutputInterfaceThe output to inject into the command.

Response

void

doExecute

Internal function to execute the command.

doExecute(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) : 
since

4.1.0

throws

Exception

Arguments

input

InputInterfaceThe input to inject into the command.

output

OutputInterfaceThe output to inject into the command.

Response

intThe command exit code

getTasks

Returns a stdClass object array of scheduled tasks.

getTasks() : mixed||string|int
since

4.1.0

throws

RunTimeException

Response

array<string|int, mixed>

Properties

defaultName

The default command name

static
since

4.1.0

Type(s)

string

application

The console application object

since

4.1.0

Type(s)

Application

ioStyle

since

4.1.0

Type(s)

SymfonyStyle