RouteParamsPreprocessorInterface.php 490 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Url;
  7. /**
  8. * Route parameters preprocessor interface.
  9. */
  10. interface RouteParamsPreprocessorInterface
  11. {
  12. /**
  13. * Processes route params.
  14. *
  15. * @param string $areaCode
  16. * @param string|null $routePath
  17. * @param array|null $routeParams
  18. * @return array|null
  19. */
  20. public function execute($areaCode, $routePath, $routeParams);
  21. }