1 | <?php |
||
25 | class EntityManagerFactory |
||
26 | { |
||
27 | /** |
||
28 | * Decorates the doctrine entity manager |
||
29 | * with library's mappings and custom types. |
||
30 | * |
||
31 | * @param mixed $aConnection Connection parameters as db driver |
||
32 | * @param bool $isDevMode Enables the dev mode, by default is enabled |
||
33 | * |
||
34 | * @return EntityManager |
||
35 | */ |
||
36 | public function build($aConnection, $isDevMode = true) |
||
45 | } |
||
46 |