NotSyncedDataProviderInterface.php 560 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Model\ResourceModel\Provider;
  7. /**
  8. * Interface provides entities id list that should be updated in grid
  9. */
  10. interface NotSyncedDataProviderInterface
  11. {
  12. /**
  13. * Returns id list of entities for adding or updating in grid.
  14. *
  15. * @param string $mainTableName source table name
  16. * @param string $gridTableName grid table name
  17. * @return array
  18. */
  19. public function getIds($mainTableName, $gridTableName);
  20. }