FetchStrategyInterface.php 564 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /**
  7. * Interface of collection data retrieval
  8. */
  9. namespace Magento\Framework\Data\Collection\Db;
  10. use Magento\Framework\DB\Select;
  11. /**
  12. * Interface \Magento\Framework\Data\Collection\Db\FetchStrategyInterface
  13. *
  14. */
  15. interface FetchStrategyInterface
  16. {
  17. /**
  18. * Retrieve all records
  19. *
  20. * @param Select $select
  21. * @param array $bindParams
  22. * @return array
  23. */
  24. public function fetchAll(Select $select, array $bindParams = []);
  25. }