BlackHole.php 722 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Signifyd\Model\SignifydGateway\Debugger;
  7. use Exception;
  8. /**
  9. * This debugger ignores any information.
  10. * Optimal production environment.
  11. */
  12. class BlackHole implements DebuggerInterface
  13. {
  14. /**
  15. * {@inheritdoc}
  16. * @SuppressWarnings(PHPMD.UnusedFormalParameter)
  17. */
  18. public function success($requestUrl, $requestData, $responseStatus, $responseBody)
  19. {
  20. // ignore
  21. }
  22. /**
  23. * {@inheritdoc}
  24. * @SuppressWarnings(PHPMD.UnusedFormalParameter)
  25. */
  26. public function failure($requestUrl, $requestData, Exception $exception)
  27. {
  28. // ignore
  29. }
  30. }