throw new \
InvalidArgumentException('Expected input to be non associative array.'
);
} } /**
* @throws InvalidSyncOperationException
*/
private function validateSyncOperationInput(SyncOperation
$operation): void
{ $errors =
$operation->
validate();
if (\
count($errors)) { throw new InvalidSyncOperationException(sprintf('Invalid sync operation. %s',
implode(' ',
$errors)));
} } /**
* @param array<mixed> $resolved
*/
private function addReverseInheritedCommands(WriteCommandQueue
$queue, EntityDefinition
$definition, WriteContext
$writeContext, array
$resolved): void
{ if ($definition instanceof MappingEntityDefinition
) { return;
}