SearchCollectionInterface.php 383 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Search\Model;
  7. /**
  8. * @api
  9. * @since 100.0.2
  10. */
  11. interface SearchCollectionInterface extends \Traversable, \Countable
  12. {
  13. /**
  14. * Set term filter
  15. *
  16. * @param string $term
  17. * @return self
  18. */
  19. public function addSearchFilter($term);
  20. }