\ManaPHP\CliRequestInterface

Summary

Methods
Constants
parse()
get()
has()
getValue()
getValues()
getServer()
hasServer()
getRequestId()
setRequestId()
completeShortNames()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

parse()

parse(array|string  $arguments = null) : static

Parameters

array|string $arguments

Returns

static

get()

get(string|integer  $name = null, mixed  $default = null) : mixed

Parameters

string|integer $name
mixed $default

Returns

mixed

has()

has(string  $name) : boolean

Parameters

string $name

Returns

boolean

getValue()

getValue(integer  $position) : string

Parameters

integer $position

Returns

string

getValues()

getValues() : array

Returns

array

getServer()

getServer(string  $name = null, mixed  $default = '') : mixed

Parameters

string $name
mixed $default

Returns

mixed

hasServer()

hasServer(string  $name) : boolean

Parameters

string $name

Returns

boolean

getRequestId()

getRequestId() : string

Returns

string

setRequestId()

setRequestId(string  $request_id = null) : void

Parameters

string $request_id

completeShortNames()

completeShortNames(object  $instance, string  $action) : void

Parameters

object $instance
string $action