function RouteMatchTest::getRouteMatch

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php \Drupal\Tests\Core\Routing\RouteMatchTest::getRouteMatch()
  2. 10 core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php \Drupal\Tests\Core\Routing\RouteMatchTest::getRouteMatch()
  3. 11.x core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php \Drupal\Tests\Core\Routing\RouteMatchTest::getRouteMatch()

Overrides RouteMatchTestBase::getRouteMatch

File

core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php, line 20

Class

RouteMatchTest
@coversDefaultClass \Drupal\Core\Routing\RouteMatch @group Routing

Namespace

Drupal\Tests\Core\Routing

Code

protected function getRouteMatch($name, Route $route, array $parameters, array $raw_parameters) {
    return new RouteMatch($name, $route, $parameters, $raw_parameters);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.