ConfigInterface.php 801 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Search\SearchEngine;
  7. /**
  8. * Interface \Magento\Framework\Search\SearchEngine\ConfigInterface
  9. *
  10. */
  11. interface ConfigInterface
  12. {
  13. /**
  14. * Search engine feature: synonyms
  15. */
  16. const SEARCH_ENGINE_FEATURE_SYNONYMS = 'synonyms';
  17. /**
  18. * Get declared features of a search engine
  19. *
  20. * @param string $searchEngine
  21. * @return string[]
  22. */
  23. public function getDeclaredFeatures($searchEngine);
  24. /**
  25. * Checks if a particular search feature is supported
  26. *
  27. * @param string $featureName
  28. * @param string $searchEngine
  29. * @return bool
  30. */
  31. public function isFeatureSupported($featureName, $searchEngine);
  32. }