return false;
} private function buildQueueResults(WriteCommandQueue
$queue): array
{ $identifiers =
[];
$order =
[];
// we have to create the written events in the written order, otherwise the version manager would
// trace the change sets in a wrong order
foreach ($queue->
getCommandsInOrder() as $command) { $class =
$command->
getDefinition()->
getEntityName();
if (isset($order[$class])) { continue;
} $order[$class] =
$command->
getDefinition();
} foreach ($order as $class =>
$definition) { $commands =
$queue->
getCommands()[$class];
if (\
count($commands) === 0
) {