original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Adds a new group for options .