PlainTextRequestInterface.php 723 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\App;
  7. /**
  8. * Interface provides low-level access to Magento Application Request and represent it as a simple string.
  9. * This interface does not define format of the request content.
  10. * Clients of this interface must be able to validate syntax of request and parse it.
  11. *
  12. * To read already parsed request data use \Magento\Framework\App\RequestInterface.
  13. *
  14. * @api
  15. * @since 101.0.0
  16. */
  17. interface PlainTextRequestInterface
  18. {
  19. /**
  20. * Returns textual representation of request to Magento.
  21. *
  22. * @return string
  23. * @since 101.0.0
  24. */
  25. public function getContent();
  26. }