ValidatorInterface.php 507 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Payment\Gateway\Validator;
  7. /**
  8. * Interface ValidatorInterface
  9. * @package Magento\Payment\Gateway\Validator
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ValidatorInterface
  14. {
  15. /**
  16. * Performs domain-related validation for business object
  17. *
  18. * @param array $validationSubject
  19. * @return ResultInterface
  20. */
  21. public function validate(array $validationSubject);
  22. }