SearchDataInterface.php 627 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\AdvancedSearch\Block;
  7. /**
  8. * Interface \Magento\AdvancedSearch\Block\SearchDataInterface
  9. *
  10. */
  11. interface SearchDataInterface
  12. {
  13. /**
  14. * Retrieve search suggestions
  15. *
  16. * @return array
  17. */
  18. public function getItems();
  19. /**
  20. * @return bool
  21. */
  22. public function isShowResultsCount();
  23. /**
  24. * @param string $queryText
  25. * @return string
  26. */
  27. public function getLink($queryText);
  28. /**
  29. * @return string
  30. */
  31. public function getTitle();
  32. }