You are here

public static function RouteCompilerInterface::compile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/RouteCompilerInterface.php \Symfony\Component\Routing\RouteCompilerInterface::compile()

Compiles the current route instance.

Parameters

Route $route A Route instance:

Return value

CompiledRoute A CompiledRoute instance

Throws

\LogicException If the Route cannot be compiled because the path or host pattern is invalid

1 method overrides RouteCompilerInterface::compile()
RouteCompiler::compile in vendor/symfony/routing/RouteCompiler.php

File

vendor/symfony/routing/RouteCompilerInterface.php, line 31

Class

RouteCompilerInterface
RouteCompilerInterface is the interface that all RouteCompiler classes must implement.

Namespace

Symfony\Component\Routing

Code

public static function compile(Route $route);