HelperInterface.php 800 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Model\ResourceModel;
  7. use Magento\Sales\Model\ResourceModel\Report\Bestsellers as BestsellersReport;
  8. /**
  9. * Sales resource helper interface
  10. *
  11. * @author Magento Core Team <core@magentocommerce.com>
  12. */
  13. interface HelperInterface
  14. {
  15. /**
  16. * Update rating position
  17. *
  18. * @param string $aggregation One of BestsellersReport::AGGREGATION_XXX constants
  19. * @param array $aggregationAliases
  20. * @param string $mainTable
  21. * @param string $aggregationTable
  22. * @return $this
  23. */
  24. public function getBestsellersReportUpdateRatingPos(
  25. $aggregation,
  26. $aggregationAliases,
  27. $mainTable,
  28. $aggregationTable
  29. );
  30. }