14 class ScopeProxy implements \Magento\Framework\Search\Request\IndexScopeResolverInterface
21 private $objectManager;
46 $this->scopeState = $scopeState;
47 $this->states = $states;
57 private function create($state)
59 if (!array_key_exists($state, $this->states)) {
62 return $this->objectManager->create($this->states[$state]);
70 return $this->create($this->scopeState->getState())->
resolve(
$index, $dimensions);
__construct(\Magento\Framework\ObjectManagerInterface $objectManager, State $scopeState, array $states)
resolve($index, array $dimensions)