ValidatorInterface.php 445 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\MessageQueue\Consumer\Config;
  7. /**
  8. * Queue consumer config validator interface.
  9. */
  10. interface ValidatorInterface
  11. {
  12. /**
  13. * Validate merged consumer config data.
  14. *
  15. * @param array $configData
  16. * @return void
  17. * @throws \LogicException
  18. */
  19. public function validate($configData);
  20. }