Primordyx Framework Documentation

AbstractCommand
in package
implements CommandInterface

AbstractYes

Table of Contents

Interfaces

CommandInterface

Methods

getDetailedHelp()  : string
Get detailed help text for this command
error()  : never
Output an error and exit
out()  : void
Output a message

Methods

getDetailedHelp()

Get detailed help text for this command

public getDetailedHelp() : string

Default implementation returns empty string. Override in child classes to provide detailed help.

Return values
string

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