SchedulerExecuteCommand extends Command
CLI command for EXT:scheduler to execute tasks
Table of Contents
Properties
- $context : Context
- $io : SymfonyStyle
- $scheduler : Scheduler
- $taskRepository : SchedulerTaskRepository
Methods
- __construct() : mixed
- configure() : mixed
- execute() : int
- getSelectableTasks() : array<string|int, mixed>
Properties
$context read-only
protected
Context
$context
$io
protected
SymfonyStyle
$io
$scheduler
protected
Scheduler
$scheduler
$taskRepository read-only
protected
SchedulerTaskRepository
$taskRepository
Methods
__construct()
public
__construct(Context $context, SchedulerTaskRepository $taskRepository, Scheduler $scheduler) : mixed
Parameters
- $context : Context
- $taskRepository : SchedulerTaskRepository
- $scheduler : Scheduler
configure()
public
configure() : mixed
execute()
public
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
intgetSelectableTasks()
protected
getSelectableTasks(mixed $taskGroups) : array<string|int, mixed>
Parameters
- $taskGroups : mixed