interface RedirectableUrlMatcherInterface

RedirectableUrlMatcherInterface knows how to redirect the user.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of RedirectableUrlMatcherInterface

All classes that implement RedirectableUrlMatcherInterface

1 file declares its use of RedirectableUrlMatcherInterface
RedirectableUrlMatcher.php in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/RedirectableUrlMatcher.php

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/RedirectableUrlMatcherInterface.php, line 21

Namespace

Symfony\Component\Routing\Matcher
View source
interface RedirectableUrlMatcherInterface {

  /**
   * Redirects the user to another URL.
   *
   * @param string      $path   The path info to redirect to.
   * @param string      $route  The route name that matched
   * @param string|null $scheme The URL scheme (null to keep the current one)
   *
   * @return array An array of parameters
   *
   * @api
   */
  public function redirect($path, $route, $scheme = null);

}

Members

Namesort descending Modifiers Type Description Overrides
RedirectableUrlMatcherInterface::redirect public function Redirects the user to another URL. 1