1 | <?php |
||
12 | class EntityResolver extends AbstractOptions |
||
13 | { |
||
14 | /** |
||
15 | * Set the configuration key for the EventManager. Event manager key |
||
16 | * is assembled as "doctrine.eventmanager.{key}" and pulled from |
||
17 | * service locator. |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $eventManager = 'orm_default'; |
||
22 | |||
23 | /** |
||
24 | * An array that maps a class name (or interface name) to another class |
||
25 | * name |
||
26 | * |
||
27 | * @var mixed[] |
||
28 | */ |
||
29 | protected $resolvers = []; |
||
30 | |||
31 | public function setEventManager(string $eventManager) : self |
||
37 | |||
38 | public function getEventManager() : string |
||
42 | |||
43 | /** |
||
44 | * @param mixed[] $resolvers |
||
45 | * |
||
46 | * @throws InvalidArgumentException |
||
47 | */ |
||
48 | public function setResolvers(array $resolvers) : void |
||
64 | |||
65 | /** |
||
66 | * @return mixed[] |
||
67 | */ |
||
68 | public function getResolvers() : array |
||
72 | } |
||
73 |