PathInfoProcessorInterface.php 510 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * PATH_INFO processor
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\App\Request;
  9. /**
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface PathInfoProcessorInterface
  14. {
  15. /**
  16. * Process Request path info
  17. *
  18. * @param \Magento\Framework\App\RequestInterface $request
  19. * @param string $pathInfo
  20. * @return string
  21. */
  22. public function process(\Magento\Framework\App\RequestInterface $request, $pathInfo);
  23. }