@@ 35-47 (lines=13) @@ | ||
32 | private $configManager; |
|
33 | private $aliasProcessor; |
|
34 | ||
35 | public function __construct( |
|
36 | IndexManager $indexManager, |
|
37 | MappingBuilder $mappingBuilder, |
|
38 | ConfigManager $configManager, |
|
39 | AliasProcessor $aliasProcessor |
|
40 | ) { |
|
41 | parent::__construct(); |
|
42 | ||
43 | $this->indexManager = $indexManager; |
|
44 | $this->mappingBuilder = $mappingBuilder; |
|
45 | $this->configManager = $configManager; |
|
46 | $this->aliasProcessor = $aliasProcessor; |
|
47 | } |
|
48 | ||
49 | protected function configure() |
|
50 | { |
@@ 59-71 (lines=13) @@ | ||
56 | * @param MappingBuilder $mappingBuilder |
|
57 | * @param EventDispatcherInterface $eventDispatcher |
|
58 | */ |
|
59 | public function __construct( |
|
60 | ManagerInterface $configManager, |
|
61 | IndexManager $indexManager, |
|
62 | AliasProcessor $aliasProcessor, |
|
63 | MappingBuilder $mappingBuilder, |
|
64 | EventDispatcherInterface $eventDispatcher |
|
65 | ) { |
|
66 | $this->aliasProcessor = $aliasProcessor; |
|
67 | $this->configManager = $configManager; |
|
68 | $this->dispatcher = $eventDispatcher; |
|
69 | $this->indexManager = $indexManager; |
|
70 | $this->mappingBuilder = $mappingBuilder; |
|
71 | } |
|
72 | ||
73 | /** |
|
74 | * Deletes and recreates all indexes. |