public function CompiledRoute::getFit

public 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 80

Class

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

Namespace

Drupal\Core\Routing

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!CompiledRoute.php/function/CompiledRoute::getFit/8.1.x