eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway\ExceptionConversion::updateObjectStateGroup PHP Method

updateObjectStateGroup() public method

Updates the stored object state group with provided data.
public updateObjectStateGroup ( eZ\Publish\SPI\Persistence\Content\ObjectState\Group $objectStateGroup )
$objectStateGroup eZ\Publish\SPI\Persistence\Content\ObjectState\Group
    public function updateObjectStateGroup(Group $objectStateGroup)
    {
        try {
            return $this->innerGateway->updateObjectStateGroup($objectStateGroup);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }