Method | Description | |
---|---|---|
getCliOptionName ( string $propertyName ) : string | Converts 'optionName' to 'option-name', i.e. from property convention to CLI convention | |
getEnvVarOptionName ( string $propertyName ) : string | Converts 'optionName' to 'VP_OPTION_NAME', i.e. from property convention to env var convention |
public static getCliOptionName ( string $propertyName ) : string | ||
$propertyName | string | |
return | string |
public static getEnvVarOptionName ( string $propertyName ) : string | ||
$propertyName | string | |
return | string |