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 82
Definition of Drupal\Core\Routing\CompiledRoute.

Class

CompiledRoute
Description of CompiledRoute

Namespace

Drupal\Core\Routing

Code

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