Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CompiledRoute.php

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\Routing

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal