You are here

interface TestRouterInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php \Drupal\Tests\Core\Routing\TestRouterInterface

Provides a router interface that also can match requests.

Hierarchy

Expanded class hierarchy of TestRouterInterface

All classes that implement TestRouterInterface

File

core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php, line 16
Contains \Drupal\Tests\Core\Routing\TestRouterInterface.

Namespace

Drupal\Tests\Core\Routing
View source
interface TestRouterInterface extends RouterInterface, RequestMatcherInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
RequestContextAwareInterface::getContext public function Gets the request context. 9
RequestContextAwareInterface::setContext public function Sets the request context. 9
RequestMatcherInterface::matchRequest public function Tries to match a request with a set of routes. 7
RouterInterface::getRouteCollection public function Gets the RouteCollection instance associated with this Router. 4
UrlGeneratorInterface::ABSOLUTE_PATH constant Generates an absolute path, e.g. "/dir/file".
UrlGeneratorInterface::ABSOLUTE_URL constant Generates an absolute URL, e.g. "http://example.com/dir/file".
UrlGeneratorInterface::generate public function Generates a URL or path for a specific route based on the given parameters. 8
UrlGeneratorInterface::NETWORK_PATH constant Generates a network path, e.g. "//example.com/dir/file". Such reference reuses the current scheme but specifies the host.
UrlGeneratorInterface::RELATIVE_PATH constant Generates a relative path based on the current request path, e.g. "../parent-file".
UrlMatcherInterface::match public function Tries to match a URL path with a set of routes. 5