class UrlMatcher extends UrlMatcher (View source)

Drupal-specific URL Matcher; handles the Drupal "system path" mapping.

Properties

protected CurrentPathStack $currentPath

The current path.

Methods

__construct(CurrentPathStack $current_path)

Constructs a new UrlMatcher.

finalMatch(RouteCollection $collection, Request $request)

No description

array
getAttributes(Route $route, $name, array $attributes)

{@inheritdoc}

Details

__construct(CurrentPathStack $current_path)

Constructs a new UrlMatcher.

The parent class has a constructor we need to skip, so just override it with a no-op.

Parameters

CurrentPathStack $current_path

The current path.

finalMatch(RouteCollection $collection, Request $request)

No description

Parameters

RouteCollection $collection
Request $request

protected array getAttributes(Route $route, $name, array $attributes)

{@inheritdoc}

Parameters

Route $route
$name
array $attributes

Return Value

array