withRelations in methods of PersistentDataManager should contain relation names instead of types

This commit is contained in:
bence committed 2023-04-30 19:19:00 +02:00
1 parent 445774e59a
commit ad7ea0de9d
2 files changed
+18 -13

No files matched your search

@@ -10,9 +10,9 @@ interface IPersistentDataManager
public function selectMultipleFromDb(Select $select, string $type, bool $useRelations = false, array $withRelations = []): Generator;
public function selectFromDbById($id, string $type, bool $useRelations = false);
public function selectFromDbById($id, string $type, bool $useRelations = false, array $withRelations = []);
public function loadRelationsFromDb(Model $model, bool $recursive): void;
public function loadRelationsFromDb(Model $model, bool $recursive = false, array $withRelations = []): void;
public function saveToDb(Model $model): void;