You are here

InboundPathProcessorInterface.php in Zircon Profile 8

File

core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\PathProcessor\InboundPathProcessorInterface.
 */
namespace Drupal\Core\PathProcessor;

use Symfony\Component\HttpFoundation\Request;

/**
 * Defines an interface for classes that process the inbound path.
 */
interface InboundPathProcessorInterface {

  /**
   * Processes the inbound path.
   *
   * @param string $path
   *   The path to process, with a leading slash.
   * @param \Symfony\Component\HttpFoundation\Request $request
   *   The HttpRequest object representing the current request.
   *
   * @return string
   *   The processed path.
   */
  public function processInbound($path, Request $request);

}

Interfaces

Namesort descending Description
InboundPathProcessorInterface Defines an interface for classes that process the inbound path.