ConfigInterface.php 490 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Indexer;
  7. /**
  8. * Indexer(s) configuration
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * Get indexers list
  17. *
  18. * @return array[]
  19. */
  20. public function getIndexers();
  21. /**
  22. * Get indexer by ID
  23. *
  24. * @param string $indexerId
  25. * @return array
  26. */
  27. public function getIndexer($indexerId);
  28. }