\pm_Hook_ForwardedApiCli

Hook for interception of API-CLI execution

Summary

Methods
Properties
Constants
process()
getOptions()
getCommands()
No public properties found
OPT_LONG
OPT_SHORT
OPT_PARAM
OPT_USAGE
OPT_DESC
No protected methods found
No protected properties found
N/A

Constants

OPT_LONG

OPT_LONG

OPT_SHORT

OPT_SHORT

OPT_PARAM

OPT_PARAM

OPT_USAGE

OPT_USAGE

OPT_DESC

OPT_DESC

Methods

process()

process(string  $command, array<mixed,string>  $args) : null|array

Parameters

string $command
array<mixed,string> $args

Returns

null|array

getOptions()

getOptions(  $command) : array

Parameters

$command

Returns

array

getCommands()

getCommands(  $command) : array

Parameters

$command

Returns

array