handle slugs in persistent data manager

This commit is contained in:
bence committed 2023-05-07 01:51:20 +02:00
1 parent a5bfc61db8
commit 1288a33ff6
2 files changed
+45

No files matched your search

@@ -12,6 +12,8 @@ interface IPersistentDataManager
public function selectFromDbById($id, string $type, bool $useRelations = false, array $withRelations = []);
public function selectFromDbBySlug(string $slug, string $type, bool $useRelations = false, array $withRelations = []);
public function loadRelationsFromDb(Model $model, bool $recursive = false, array $withRelations = []): void;
public function saveToDb(Model $model): void;