Primordyx Framework Documentation

CommandInterface

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

Methods

execute()

Execute the command

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

Command line arguments

getDescription()

Get the command description

public getDescription() : string
Return values
string

A brief description of what this command does

getDetailedHelp()

Get detailed help text for this command

public getDetailedHelp() : string
Return values
string

Detailed usage instructions and examples

getName()

Get the command name

public getName() : string
Return values
string

The unique name identifier for this command


        
On this page

Search results