From d66beeff246db5898d9b87f8e0f2f27f07cc8735 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 5 Sep 2024 17:17:42 +0300 Subject: [PATCH] docs --- application/Espo/ORM/Relation/Relations.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/Espo/ORM/Relation/Relations.php b/application/Espo/ORM/Relation/Relations.php index a5138854fe..1bd3fc8f51 100644 --- a/application/Espo/ORM/Relation/Relations.php +++ b/application/Espo/ORM/Relation/Relations.php @@ -52,9 +52,14 @@ interface Relations */ public function set(string $relation, Entity|EntityCollection|null $related): void; + /** + * Is a relation set (updated). + */ public function isSet(string $relation): bool; /** + * Get set (updated) record or records. + * * @return Entity|EntityCollection|null */ public function getSet(string $relation): Entity|EntityCollection|null;