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

updateObjectState() public method

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