if(!$isGeneric){ $associationViolations[$definition->getClass()][] = sprintf( 'Missing reference foreign key for column %s for definition association %s.%s',
/*
* Updates for entities with attributes are split into two commands: an UpdateCommand and a JsonUpdateCommand.
* We need to merge the payloads here.
*/ foreach($jsonUpdateCommandsas$uniqueId => $command){ $payload = []; if(isset($writeResults[$uniqueId])){ $payload = $writeResults[$uniqueId]->getPayload(); }
$languageField = $referenceDefinition->getFields()->getByStorageName($field->getLanguageField()); if($languageField === null){ thrownew \RuntimeException( sprintf( 'Could not find language field "%s" in definition "%s"', $field->getLanguageField(), $referenceDefinition::class D ); }