Primordyx Framework Documentation

MessageQueueConsumeCommand extends AbstractCommand
in package

Table of Contents

Methods

execute()  : void
Execute the command
getDescription()  : string
Get the command description
getDetailedHelp()  : string
Get detailed help text for this command
getName()  : string
Get the command name
error()  : never
Output an error and exit
out()  : void
Output a message

Methods

execute()

Execute the command

public execute(array<string|int, mixed> $args) : void
Parameters
$args : array<string|int, mixed>

Command line arguments

Tags
inheritDoc

getDescription()

Get the command description

public getDescription() : string
Tags
inheritDoc
Return values
string

A brief description of what this command does

getDetailedHelp()

Get detailed help text for this command

public getDetailedHelp() : string
Tags
inheritDoc
Return values
string

getName()

Get the command name

public getName() : string
Tags
inheritDoc
Return values
string

The unique name identifier for this command

error()

Output an error and exit

protected error(string $message) : never
Parameters
$message : string
Return values
never

out()

Output a message

protected out(string $message) : void
Parameters
$message : string

        
On this page

Search results