QueryAwareInterface.php 533 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Elasticsearch\SearchAdapter;
  7. /**
  8. * QueryAwareInterface is a marker interface for those objects who expects the QueryContainer
  9. * to be passed to their constructor
  10. *
  11. * Its goal is to mark the fact that a class which implements this interface requires
  12. * the QueryContainer object to be passed as constructor argument
  13. * with the name 'queryContainer' to work properly
  14. */
  15. interface QueryAwareInterface
  16. {
  17. }