interface OptionParser

OptionParser interface. Option Good must be implemented. This method is called when the parser recognizes option good.

Methods

static string|void
parse(string $code, string $name, array $goods, array $options)

Find option-good code by parsing. Option-good can be matched by 'name', because option-good have not code.

Details

at line 19
static string|void parse(string $code, string $name, array $goods, array $options)

Find option-good code by parsing. Option-good can be matched by 'name', because option-good have not code.

Parameters

string $code

good code.

string $name

good name.

array $goods option-goods
array $options option-good-options

Return Value

string|void

Good code