ConfigInterface.php 756 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\ImportExport\Model\Import;
  7. /**
  8. * Provides import configuration
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * Retrieve import entities configuration
  17. *
  18. * @return array
  19. */
  20. public function getEntities();
  21. /**
  22. * Retrieve import entity types configuration
  23. *
  24. * @param string $entity
  25. * @return array
  26. */
  27. public function getEntityTypes($entity);
  28. /**
  29. * Retrieve a list of indexes which are affected by import of the specified entity.
  30. *
  31. * @param string $entity
  32. * @return array
  33. */
  34. public function getRelatedIndexers($entity);
  35. }