diff --git a/composer.json b/composer.json index 879ca63..aa379b1 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "require": { "php": ">=8.1", "doctrine/orm": "^2.0|^3.0", - "juniwalk/orm": "^1.0", + "juniwalk/orm": "^1.0|^2.0", "juniwalk/utils": "^3.0|^4.0" }, diff --git a/src/Entity/Record.php b/src/Entity/Record.php index 64a1ec2..21e7ca9 100644 --- a/src/Entity/Record.php +++ b/src/Entity/Record.php @@ -257,6 +257,12 @@ public function getNote(): ?string abstract public function createLink(Control $control): string|Link|null; + protected function createHashParams(): mixed + { + return (string) $this; + } + + #[ORM\PreFlush] public function onPreFlush(PreFlushEventArgs $event): void {