Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / PathProcessor / InboundPathProcessorInterface.php
1 <?php
2
3 namespace Drupal\Core\PathProcessor;
4
5 use Symfony\Component\HttpFoundation\Request;
6
7 /**
8  * Defines an interface for classes that process the inbound path.
9  */
10 interface InboundPathProcessorInterface {
11
12   /**
13    * Processes the inbound path.
14    *
15    * @param string $path
16    *   The path to process, with a leading slash.
17    * @param \Symfony\Component\HttpFoundation\Request $request
18    *   The HttpRequest object representing the current request.
19    *
20    * @return string
21    *   The processed path.
22    */
23   public function processInbound($path, Request $request);
24
25 }