BaseSelectStrategyInterface.php 732 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\CatalogSearch\Model\Search\BaseSelectStrategy;
  7. use Magento\CatalogSearch\Model\Search\SelectContainer\SelectContainer;
  8. /**
  9. * This interface represents strategy that will be used to create base select for search request
  10. *
  11. * @deprecated 101.0.0
  12. * @see \Magento\ElasticSearch
  13. */
  14. interface BaseSelectStrategyInterface
  15. {
  16. /**
  17. * Creates base select query that can be populated with additional filters
  18. *
  19. * @param SelectContainer $selectContainer
  20. * @return SelectContainer
  21. * @throws \DomainException
  22. */
  23. public function createBaseSelect(SelectContainer $selectContainer);
  24. }