fixup! handle slugs in persistent data manager

This commit is contained in:
Bence Pőcze 2023-05-07 01:16:35 +02:00
parent 336e3dbd3f
commit 45c4206686
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -12,6 +12,8 @@ interface IPersistentDataManager
public function selectFromDbById($id, string $type, bool $useRelations = false, array $withRelations = []); 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 loadRelationsFromDb(Model $model, bool $recursive = false, array $withRelations = []): void;
public function saveToDb(Model $model): void; public function saveToDb(Model $model): void;