You are here

interface RedirectableUrlMatcherInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Matcher/RedirectableUrlMatcherInterface.php \Symfony\Component\Routing\Matcher\RedirectableUrlMatcherInterface

RedirectableUrlMatcherInterface knows how to redirect the user.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of RedirectableUrlMatcherInterface

All classes that implement RedirectableUrlMatcherInterface

1 file declares its use of RedirectableUrlMatcherInterface
RedirectableUrlMatcher.php in vendor/symfony/routing/Tests/Fixtures/RedirectableUrlMatcher.php

File

vendor/symfony/routing/Matcher/RedirectableUrlMatcherInterface.php, line 19

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
   */
  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