OptionCodeParser
class OptionCodeParser
Option-good code can be parsed by the OptionGoodCodeParser.
Option-good code can be matched by 'name', because option-good code have not code, so GoodCodeParser can not be used to parse option-good codes.
Methods
__construct(string $parse, string $name)
Constructor.
with(string $parser, array $goods, array $options)
Ready to use a fit parser.
array|string
get()
Return option-good code or codes.
Details
at line 33
__construct(string $parse, string $name)
Constructor.
at line 46
OptionCodeParser
with(string $parser, array $goods, array $options)
Ready to use a fit parser.
at line 56
array|string
get()
Return option-good code or codes.