PHPUnit_Util_Getopt
in package
Command-line options parsing class.
Tags
Table of Contents
- getopt() : mixed
- parseLongOption() : mixed
- parseShortOption() : mixed
Methods
getopt()
public
static getopt(array<string|int, mixed> $args, mixed $short_options[, mixed $long_options = null ]) : mixed
Parameters
- $args : array<string|int, mixed>
- $short_options : mixed
- $long_options : mixed = null
Return values
mixed —parseLongOption()
protected
static parseLongOption(mixed $arg, mixed $long_options, mixed &$opts, mixed &$args) : mixed
Parameters
- $arg : mixed
- $long_options : mixed
- $opts : mixed
- $args : mixed
Return values
mixed —parseShortOption()
protected
static parseShortOption(mixed $arg, mixed $short_options, mixed &$opts, mixed &$args) : mixed
Parameters
- $arg : mixed
- $short_options : mixed
- $opts : mixed
- $args : mixed