ResponseHandlerInterface.php 414 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Analytics\Model\Connector\Http;
  7. /**
  8. * Represents an interface for response handler which process response body.
  9. */
  10. interface ResponseHandlerInterface
  11. {
  12. /**
  13. * @param array $responseBody
  14. * @return bool|string
  15. */
  16. public function handleResponse(array $responseBody);
  17. }