StockIndexTableNameResolverInterface.php 431 B

12345678910111213141516171819202122
  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\InventoryIndexer\Model;
  8. /**
  9. * Stock Index table name resolver. Get stock index table by stock id.
  10. *
  11. * @api
  12. */
  13. interface StockIndexTableNameResolverInterface
  14. {
  15. /**
  16. * @param int $stockId
  17. * @return string
  18. */
  19. public function execute(int $stockId): string;
  20. }