1 | <?php |
||
12 | class EntityManager extends DoctrineEntityManager |
||
13 | { |
||
14 | use ReflectionTrait; |
||
15 | |||
16 | /** |
||
17 | * Copied from Doctrine\ORM\EntityManager, cause return use new EntityManager() instead of new static() |
||
18 | * |
||
19 | * @param mixed $conn |
||
20 | * @param Configuration $config |
||
21 | * @param EventManager|null $eventManager |
||
22 | * @return $this |
||
23 | * @throws ORMException |
||
24 | * @throws \InvalidArgumentException |
||
25 | */ |
||
26 | public static function create($conn, Configuration $config, EventManager $eventManager = null) |
||
51 | |||
52 | /** |
||
53 | * @param Connection $conn |
||
54 | * @param Configuration $config |
||
55 | * @param EventManager $eventManager |
||
56 | */ |
||
57 | protected function __construct(Connection $conn, Configuration $config, EventManager $eventManager) |
||
63 | } |
||
64 |