public function addGroupAlias($groupName, $alias)
    {
       if(is_array($alias))
           foreach($alias as $item)
               $this->groupAliasIndices[$item] = $groupName;
       else
           $this->groupAliasIndices[$alias] = $groupName;

        return $this;
    }
public function addGroupAlias($groupName, $alias)
    {
       if(is_array($alias))
           foreach($alias as $item)
               $this->groupAliasIndices[$item] = $groupName;
       else
           $this->groupAliasIndices[$alias] = $groupName;

        return $this;
    }
public function addGroupAlias ( $ groupName , $ alias ) { if ( is_array ( $ alias ) ) foreach ( $ alias as $ item ) $ this -> groupAliasIndices [ $ item ] = $ groupName ; else $ this -> groupAliasIndices [ $ alias ] = $ groupName ; return $ this ; }
Set alias for given group

@param string $groupName
@param string|array $alias
@return $this
Set alias for given group