src/app/n2n/impl/persistence/orm/property/EmbeddedEntityProperty.php
public function supplyPersistAction(PersistAction $persistingJob, $object, ValueHash $valueHash, ?ValueHash $oldValueHash) {
		ArgUtils::assertTrue($valueHash instanceof CommonValueHash);
		
		$propertyValueHashes = $valueHash->getHash();
		$oldPropertyValueHashes = null;
		if ($oldValueHash !== null) {
			$oldPropertyValueHashes = $oldValueHash->getHash();
		}
		
		foreach ($this->properties as $propertyName => $property)  {
			$propertyValue = null;
			if ($object !== null) {
				$propertyValue = $property->readValue($object);
			}
			
			ArgUtils::assertTrue(array_key_exists($propertyName, $propertyValueHashes));
			$propertyValueHash = $propertyValueHashes[$propertyName];
			
			$oldPropertyValueHash = null;
			if ($oldPropertyValueHashes !== null) {
				ArgUtils::assertTrue(array_key_exists($propertyName, $oldPropertyValueHashes));
				$oldPropertyValueHash = $oldPropertyValueHashes[$propertyName] ?? null;
			}
			
			$property->supplyPersistAction($persistingJob, $propertyValue, $propertyValueHash, $oldPropertyValueHash);
		}
	}
public function supplyPersistAction(PersistAction $persistingJob, $object, ValueHash $valueHash, ?ValueHash $oldValueHash) {
		ArgUtils::assertTrue($valueHash instanceof CommonValueHash);
		
		$propertyValueHashes = $valueHash->getHash();
		$oldPropertyValueHashes = null;
		if ($oldValueHash !== null) {
			$oldPropertyValueHashes = $oldValueHash->getHash();
		}
		
		foreach ($this->properties as $propertyName => $property)  {
			$propertyValue = null;
			if ($object !== null) {
				$propertyValue = $property->readValue($object);
			}
			
			ArgUtils::assertTrue(array_key_exists($propertyName, $propertyValueHashes));
			$propertyValueHash = $propertyValueHashes[$propertyName];
			
			$oldPropertyValueHash = null;
			if ($oldPropertyValueHashes !== null) {
				ArgUtils::assertTrue(array_key_exists($propertyName, $oldPropertyValueHashes));
				$oldPropertyValueHash = $oldPropertyValueHashes[$propertyName] ?? null;
			}
			
			$property->supplyPersistAction($persistingJob, $propertyValue, $propertyValueHash, $oldPropertyValueHash);
		}
	}
/* (non-PHPdoc)
@see \n2n\persistence\orm\property\EntityProperty::supplyPersistAction()