function CompiledRoute::getFit
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getFit()
- 10 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getFit()
- 11.x 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\RoutingCode
public function getFit() {
return $this->fit;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.