final class OptionGood implements OptionParser

Constants

PREFIX

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 17
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