updateGroup() abstract public method

Updates a group with data in $group.
abstract public updateGroup ( eZ\Publish\SPI\Persistence\Content\Type\Group\UpdateStruct $group )
$group eZ\Publish\SPI\Persistence\Content\Type\Group\UpdateStruct
 /**
  * Updates a group with data in $group.
  *
  * @param \eZ\Publish\SPI\Persistence\Content\Type\Group\UpdateStruct $group
  */
 public function updateGroup(GroupUpdateStruct $group)
 {
     try {
         return $this->innerGateway->updateGroup($group);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }
 /**
  * @param \eZ\Publish\SPI\Persistence\Content\Type\Group\UpdateStruct $struct
  *
  * @return \eZ\Publish\SPI\Persistence\Content\Type\Group
  */
 public function updateGroup( GroupUpdateStruct $struct )
 {
     $this->contentTypeGateway->updateGroup(
         $struct
     );
     return $this->loadGroup( $struct->id );
 }