Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/Command/AddCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@

class AddCommand extends Command {

/**
* @return string
*/
public static function getDescription(): string {
return 'Add a job to the queue.';
}

/**
* @inheritDoc
*/
Expand Down
7 changes: 7 additions & 0 deletions src/Command/InfoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
*/
class InfoCommand extends Command {

/**
* @return string
*/
public static function getDescription(): string {
return 'Show queue status and available tasks.';
}

/**
* @var string|null
*/
Expand Down
7 changes: 7 additions & 0 deletions src/Command/JobCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
*/
class JobCommand extends Command {

/**
* @return string
*/
public static function getDescription(): string {
return 'Manage queued jobs.';
}

protected QueuedJobsTable $QueuedJobs;

/**
Expand Down
7 changes: 7 additions & 0 deletions src/Command/RunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
*/
class RunCommand extends Command {

/**
* @return string
*/
public static function getDescription(): string {
return 'Run queue worker to process jobs.';
}

/**
* @var \Cake\Core\ContainerInterface
*/
Expand Down
7 changes: 7 additions & 0 deletions src/Command/WorkerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
*/
class WorkerCommand extends Command {

/**
* @return string
*/
public static function getDescription(): string {
return 'Manage queue workers.';
}

protected QueueProcessesTable $QueueProcesses;

/**
Expand Down