DimensionalIndexerInterface.php 645 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Framework\Indexer;
  8. /**
  9. * @api
  10. * Run indexer by dimensions
  11. * @since 101.0.6
  12. */
  13. interface DimensionalIndexerInterface
  14. {
  15. /**
  16. * Execute indexer by specified dimension.
  17. * Accept array of dimensions DTO that represent indexer dimension
  18. *
  19. * @param \Magento\Framework\Indexer\Dimension[] $dimensions
  20. * @param \Traversable $entityIds
  21. * @return void
  22. * @since 101.0.6
  23. */
  24. public function executeByDimensions(array $dimensions, \Traversable $entityIds);
  25. }