ValueHandlerInterface.php 509 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Payment\Gateway\Config;
  7. /**
  8. * Interface ValueHandlerInterface
  9. * @package Magento\Payment\Gateway\Config
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ValueHandlerInterface
  14. {
  15. /**
  16. * Retrieve method configured value
  17. *
  18. * @param array $subject
  19. * @param int|null $storeId
  20. *
  21. * @return mixed
  22. */
  23. public function handle(array $subject, $storeId = null);
  24. }