You are here

public function CompiledRoute::getFit in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getFit()

Returns the fit of this route.

See RouteCompiler for a definition of how the fit is calculated.

Return value

int The fit of the route.

File

core/lib/Drupal/Core/Routing/CompiledRoute.php, line 83

Class

CompiledRoute
A compiled route contains derived information from a route object.

Namespace

Drupal\Core\Routing

Code

public function getFit() {
  return $this->fit;
}