ValidatorInterface.php 430 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\Publisher\Config;
  7. /**
  8. * Publisher config data validator.
  9. */
  10. interface ValidatorInterface
  11. {
  12. /**
  13. * Validate publisher config data.
  14. *
  15. * @param array $configData
  16. * @throws \LogicException
  17. * @return void
  18. */
  19. public function validate($configData);
  20. }