interface ChainRouterInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ChainRouterInterface.php \Symfony\Cmf\Component\Routing\ChainRouterInterface
Interface for a router that proxies routing to other routers.
@author Daniel Wehner <dawehner@googlemail.com>
Hierarchy
- interface \Symfony\Component\Routing\RouterInterface; interface \Symfony\Component\Routing\Matcher\RequestMatcherInterface- interface \Symfony\Cmf\Component\Routing\ChainRouterInterface
 
Expanded class hierarchy of ChainRouterInterface
All classes that implement ChainRouterInterface
File
- vendor/symfony-cmf/ routing/ ChainRouterInterface.php, line 22 
Namespace
Symfony\Cmf\Component\RoutingView source
interface ChainRouterInterface extends RouterInterface, RequestMatcherInterface {
  /**
   * Add a Router to the index.
   *
   * @param RouterInterface $router   The router instance. Instead of RouterInterface, may also
   *                                  be RequestMatcherInterface and UrlGeneratorInterface.
   * @param integer         $priority The priority
   */
  public function add($router, $priority = 0);
  /**
   * Sorts the routers and flattens them.
   *
   * @return RouterInterface[] or RequestMatcherInterface and UrlGeneratorInterface.
   */
  public function all();
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ChainRouterInterface:: | public | function | Add a Router to the index. | 1 | 
| ChainRouterInterface:: | public | function | Sorts the routers and flattens them. | 1 | 
| RequestContextAwareInterface:: | public | function | Gets the request context. | 9 | 
| RequestContextAwareInterface:: | public | function | Sets the request context. | 9 | 
| RequestMatcherInterface:: | public | function | Tries to match a request with a set of routes. | 7 | 
| RouterInterface:: | public | function | Gets the RouteCollection instance associated with this Router. | 4 | 
| UrlGeneratorInterface:: | constant | Generates an absolute path, e.g. "/dir/file". | ||
| UrlGeneratorInterface:: | constant | Generates an absolute URL, e.g. "http://example.com/dir/file". | ||
| UrlGeneratorInterface:: | public | function | Generates a URL or path for a specific route based on the given parameters. | 8 | 
| UrlGeneratorInterface:: | constant | Generates a network path, e.g. "//example.com/dir/file". Such reference reuses the current scheme but specifies the host. | ||
| UrlGeneratorInterface:: | constant | Generates a relative path based on the current request path, e.g. "../parent-file". | ||
| UrlMatcherInterface:: | public | function | Tries to match a URL path with a set of routes. | 5 | 
