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. 8.9.x 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 23

Class

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

Namespace

Drupal\Tests\Core\Routing

Code

protected static function getRouteMatch(string $name, Route $route, array $parameters, array $raw_parameters) : RouteMatchInterface {
    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.