implement multi relation loading
soko-web/pipeline/pr-master This commit looks good

This commit is contained in:
bence committed 2023-06-17 14:15:46 +02:00
1 parent 8d490e48aa
commit fc4c3234a7
3 files changed
+43

No files matched your search

@@ -16,6 +16,8 @@ interface IPersistentDataManager
public function loadRelationsFromDb(Model $model, bool $recursive = false, array $withRelations = []): void;
public function loadMultiRelationsFromDb(array $models, string $relation, bool $useRelations = false, array $withRelations = []): void;
public function saveToDb(Model $model): void;
public function deleteFromDb(Model $model): void;