IndexScopeResolverInterface.php 556 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Search\Request;
  7. /**
  8. * Resolve table name by provided dimensions. Scope Resolver must accept all dimensions that potentially can be used to
  9. * resolve table name, but certain implementation can filter them if needed
  10. */
  11. interface IndexScopeResolverInterface
  12. {
  13. /**
  14. * @param string $index
  15. * @param Dimension[] $dimensions
  16. * @return string
  17. */
  18. public function resolve($index, array $dimensions);
  19. }