| @@ 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 | { |
|
| @@ 49-61 (lines=13) @@ | ||
| 46 | */ |
|
| 47 | private $mappingBuilder; |
|
| 48 | ||
| 49 | public function __construct( |
|
| 50 | ManagerInterface $configManager, |
|
| 51 | IndexManager $indexManager, |
|
| 52 | AliasProcessor $aliasProcessor, |
|
| 53 | MappingBuilder $mappingBuilder, |
|
| 54 | EventDispatcherInterface $eventDispatcher |
|
| 55 | ) { |
|
| 56 | $this->aliasProcessor = $aliasProcessor; |
|
| 57 | $this->configManager = $configManager; |
|
| 58 | $this->dispatcher = $eventDispatcher; |
|
| 59 | $this->indexManager = $indexManager; |
|
| 60 | $this->mappingBuilder = $mappingBuilder; |
|
| 61 | } |
|
| 62 | ||
| 63 | /** |
|
| 64 | * Deletes and recreates all indexes. |
|