Search for match
- Search 7.x for match
- Search 9.5.x for match
- Search 8.9.x for match
- Search 10.3.x for match
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
RouteMatch | class | core/ |
Default object representing the results of routing. |
RouteMatch.php | file | core/ |
|
RouteMatch::$parameters | property | core/ |
A key|value store of parameters. |
RouteMatch::$rawParameters | property | core/ |
A key|value store of raw parameters. |
RouteMatch::$route | property | core/ |
The route. |
RouteMatch::$routeName | property | core/ |
The route name. |
RouteMatch::createFromRequest | function | core/ |
Creates a RouteMatch from a request. |
RouteMatch::getParameter | function | core/ |
Returns the processed value of a named route parameter. |
RouteMatch::getParameterNames | function | core/ |
Returns the names of all parameters for the currently matched route. |
RouteMatch::getParameters | function | core/ |
Returns the bag of all processed route parameters. |
RouteMatch::getRawParameter | function | core/ |
Returns the raw value of a named route parameter. |
RouteMatch::getRawParameters | function | core/ |
Returns the bag of all raw route parameters. |
RouteMatch::getRouteName | function | core/ |
Returns the route name. |
RouteMatch::getRouteObject | function | core/ |
Returns the route object. |
RouteMatch::__construct | function | core/ |
Constructs a RouteMatch object. |
RouteMatchInterface | interface | core/ |
Provides an interface for classes representing the result of routing. |
RouteMatchInterface.php | file | core/ |
|
RouteMatchInterface::getParameter | function | core/ |
Returns the processed value of a named route parameter. |
RouteMatchInterface::getParameters | function | core/ |
Returns the bag of all processed route parameters. |
RouteMatchInterface::getRawParameter | function | core/ |
Returns the raw value of a named route parameter. |
RouteMatchInterface::getRawParameters | function | core/ |
Returns the bag of all raw route parameters. |
RouteMatchInterface::getRouteName | function | core/ |
Returns the route name. |
RouteMatchInterface::getRouteObject | function | core/ |
Returns the route object. |
RouteMatchTest | class | core/ |
@coversDefaultClass \Drupal\Core\Routing\RouteMatch @group Routing |
RouteMatchTest.php | file | core/ |
|
RouteMatchTest::getRouteMatch | function | core/ |
Build a test route match object for the given implementation. |
RouteMatchTest::testRouteMatchFromRequest | function | core/ |
@covers ::createFromRequest @covers ::__construct |
RouteMatchTestBase | class | core/ |
Base test class for testing classes implementing the route match interface. |
RouteMatchTestBase.php | file | core/ |
|
RouteMatchTestBase::getRouteMatch | function | core/ |
Build a test route match object for the given implementation. |
RouteMatchTestBase::routeMatchProvider | function | core/ |
Provide sets of parameters and expected parameters for parameter tests. |
RouteMatchTestBase::testGetParameter | function | core/ |
@covers ::getParameter @covers \Drupal\Core\Routing\RouteMatch::getParameterNames @dataProvider routeMatchProvider |
RouteMatchTestBase::testGetParameters | function | core/ |
@covers ::getParameters @covers \Drupal\Core\Routing\RouteMatch::getParameterNames @dataProvider routeMatchProvider |
RouteMatchTestBase::testGetRawParameter | function | core/ |
@covers ::getRawParameter @covers \Drupal\Core\Routing\RouteMatch::getParameterNames @dataProvider routeMatchProvider |
RouteMatchTestBase::testGetRawParameters | function | core/ |
@covers ::getRawParameters @covers \Drupal\Core\Routing\RouteMatch::getParameterNames @dataProvider routeMatchProvider |
RouteMatchTestBase::testGetRouteName | function | core/ |
@covers ::getRouteName @dataProvider routeMatchProvider |
RouteMatchTestBase::testGetRouteObject | function | core/ |
@covers ::getRouteObject @dataProvider routeMatchProvider |
RouteMatchValueResolver | class | core/ |
Yields a RouteMatch object based on the request object passed along. |
RouteMatchValueResolver.php | file | core/ |
|
RouteMatchValueResolver::resolve | function | core/ |
|
RouteProcessorCurrent::$routeMatch | property | core/ |
The current route match. |
RouteProviderTest::testExactPathMatch | function | core/ |
Confirms that we can find routes with the exact incoming path. |
RouteProviderTest::testOutlinePathMatch | function | core/ |
Confirms that we can find routes whose pattern would match the request. |
RouteProviderTest::testOutlinePathMatchDefaults | function | core/ |
Confirms that we can find routes whose pattern would match the request. |
RouteProviderTest::testOutlinePathMatchDefaultsCollision | function | core/ |
Confirms that we can find routes whose pattern would match the request. |
RouteProviderTest::testOutlinePathMatchDefaultsCollision2 | function | core/ |
Confirms that we can find routes whose pattern would match the request. |
RouteProviderTest::testOutlinePathMatchDefaultsCollision3 | function | core/ |
Confirms that we can find multiple routes that match the request equally. |
RouteProviderTest::testOutlinePathMatchTrailingSlash | function | core/ |
Confirms that a trailing slash on the request does not result in a 404. |
RouteProviderTest::testOutlinePathMatchZero | function | core/ |
Tests a route with a 0 as value. |
RouteProviderTest::testOutlinePathNoMatch | function | core/ |
Confirms that an exception is thrown when no matching path is found. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.