Fab 3 лет назад
Родитель
Сommit
42584c9b04
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      Manager/EntityManager.php

+ 2
- 1
Manager/EntityManager.php Просмотреть файл

@@ -32,7 +32,8 @@ class EntityManager

public function new($className)
{
return new $this->getEntityName($className);
$entityName = $this->getEntityName($className);
return new $entityName;
}

public function create(EntityInterface $entity): self

Загрузка…
Отмена
Сохранить