getPersistence()->hmSet(self::PREFIX_STATES . $deliveryExecutionId, $states); } /** * @inheritdoc * * @throws \common_exception_Error */ public function getStates($deliveryExecutionId) { return $this->getPersistence()->hGetAll(self::PREFIX_STATES . $deliveryExecutionId); } /** * @inheritdoc * * @throws \common_exception_Error */ public function deleteStates($deliveryExecutionId) { return $this->getPersistence()->del(self::PREFIX_STATES . $deliveryExecutionId); } }