1 | <?php |
||
9 | class EntityManager extends AbstractOptions |
||
10 | { |
||
11 | /** |
||
12 | * Set the configuration key for the Configuration. Configuration key |
||
13 | * is assembled as "doctrine.configuration.{key}" and pulled from |
||
14 | * service locator. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $configuration = 'orm_default'; |
||
19 | |||
20 | /** |
||
21 | * Set the connection key for the Connection. Connection key |
||
22 | * is assembled as "doctrine.connection.{key}" and pulled from |
||
23 | * service locator. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $connection = 'orm_default'; |
||
28 | |||
29 | /** |
||
30 | * Set the connection key for the EntityResolver, which is |
||
31 | * a service of type {@see \Doctrine\ORM\Tools\ResolveTargetEntityListener}. |
||
32 | * The EntityResolver service name is assembled |
||
33 | * as "doctrine.entity_resolver.{key}" |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $entityResolver = 'orm_default'; |
||
38 | |||
39 | public function setConfiguration(string $configuration) : self |
||
45 | |||
46 | public function getConfiguration() : string |
||
50 | |||
51 | public function setConnection(string $connection) : self |
||
57 | |||
58 | /** |
||
59 | * @return self |
||
60 | */ |
||
61 | public function getConnection() : string |
||
65 | |||
66 | 1 | public function setEntityResolver(string $entityResolver) : self |
|
72 | |||
73 | /** |
||
74 | * @return self |
||
75 | */ |
||
76 | 1 | public function getEntityResolver() : string |
|
80 | } |
||
81 |