public 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

drupal/core/lib/Drupal/Core/Routing/CompiledRoute.php, line 96
Definition of Drupal\Core\Routing\CompiledRoute.

Class

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

Namespace

Drupal\Core\Routing

Code

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