public function createGroup(Api\GroupCreate $group)
    {
        $json = Serialize::group($group);
        $result = $this->_post($this->_url('/groups'), $json);
        return Deserialize::groupResponse($result);
    }
public function createGroup(Api\GroupCreate $group)
    {
        $json = Serialize::group($group);
        $result = $this->_post($this->_url('/groups'), $json);
        return Deserialize::groupResponse($result);
    }
public function createGroup ( Api \ GroupCreate $ group ) { $ json = Serialize :: group ( $ group ) ; $ result = $ this -> _post ( $ this -> _url ( '/groups' ) , $ json ) ; return Deserialize :: groupResponse ( $ result ) ; }
Creates the given group.

@param Api\GroupCreate $group group description

@return Api\GroupResult the created group
Creates the given group .