public function addGroup($str_alias, $str_name = null)
    {
        if (!isset(self::$arr_group[$str_alias])) {
            $grp = new \stdClass();
            $grp->name = (strlen($str_name)) ? $str_name : null;
            $grp->args = array();

            self::$arr_group[$str_alias] = $grp;
        }

        return $this;
    }
public function addGroup($str_alias, $str_name = null)
    {
        if (!isset(self::$arr_group[$str_alias])) {
            $grp = new \stdClass();
            $grp->name = (strlen($str_name)) ? $str_name : null;
            $grp->args = array();

            self::$arr_group[$str_alias] = $grp;
        }

        return $this;
    }
public function addGroup ( $ str_alias , $ str_name = null ) { if ( ! isset ( self :: $ arr_group [ $ str_alias ] ) ) { $ grp = new \ stdClass ( ) ; $ grp -> name = ( strlen ( $ str_name ) ) ? $ str_name : null ; $ grp -> args = array ( ) ; self :: $ arr_group [ $ str_alias ] = $ grp ; } return $ this ; }
Adds a new group for options.

@param  string  $str_alias Conding name of the group, to identify it when defining options.
@param  string  $str_name  Optional name to display while rendering help.
@access public
@return Options
Adds a new group for options .