} /**
* @param array<UpdateCommand> $commandQueue
*/
private function validateUpdateCommands( array
$commandQueue,
WriteException
$writeException,
Context
$context ): void
{ $conditions =
$this->
getSavedConditions($commandQueue,
$context);
foreach ($commandQueue as $command) { $id = Uuid::
fromBytesToHex($command->
getPrimaryKey()['id'
]);
$condition =
$conditions->
get($id);
$this->
validateCondition($condition,
$command,
$writeException,
$context);
} } /**
* @param array<UpdateCommand> $commandQueue
*/