protected function getOptionType($opt)
    {
        if (substr($opt, -1) == '=') {
            return self::REQUIRED;
        } elseif (Strings::contains($opt, '=')) {
            return self::VALUE;
        } else {
            return self::OPTIONAL;
        }
    }
protected function getOptionType($opt)
    {
        if (substr($opt, -1) == '=') {
            return self::REQUIRED;
        } elseif (Strings::contains($opt, '=')) {
            return self::VALUE;
        } else {
            return self::OPTIONAL;
        }
    }
protected function getOptionType ( $ opt ) { if ( substr ( $ opt , - 1 ) == '=' ) { return self :: REQUIRED ; } elseif ( Strings :: contains ( $ opt , '=' ) ) { return self :: VALUE ; } else { return self :: OPTIONAL ; } }
get the type of the option.
get the type of the option .