public function addOption( $opt, $type ) {
        if( $type !== self::OPT_PARAM || $type !== self::OPT_SWITCH ) {
            return;
        }
        
        $this->options[(string)$opt] = $type;
    }
public function addOption( $opt, $type ) {
        if( $type !== self::OPT_PARAM || $type !== self::OPT_SWITCH ) {
            return;
        }
        
        $this->options[(string)$opt] = $type;
    }
public function addOption ( $ opt , $ type ) { if ( $ type !== self :: OPT_PARAM || $ type !== self :: OPT_SWITCH ) { return ; } $ this -> options [ ( string ) $ opt ] = $ type ; }
Adds an option to the argument parser.

@param string $opt The name of the option.
@param string $type Args::SWITCH or Args::PARAM
Adds an option to the argument parser .