Solar_Getopt::_getOptionName()

protected string Solar_Getopt::_getOptionName ( string $type , string $spec )

Gets an option name from its short or long format.

Parameters

  • (string) $type: Look in the 'long' or 'short' key for option names.

  • (string) $spec: The long or short format of the option name.

Returns

  • (string)

Description

Gets an option name from its short or long format.



Local