function 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.