orm refactoring using injectable factory for entities

This commit is contained in:
Yuri Kuznetsov
2021-04-22 12:33:45 +03:00
parent b2b968f915
commit 7420f2ff98
8 changed files with 68 additions and 54 deletions
@@ -31,5 +31,5 @@ namespace Espo\ORM\Repository;
interface RepositoryFactory
{
public function create(string $name): Repository;
public function create(string $entityType): Repository;
}