Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Routing; Chris@0: Chris@0: /** Chris@0: * RouteCompilerInterface is the interface that all RouteCompiler classes must implement. Chris@0: * Chris@0: * @author Fabien Potencier Chris@0: */ Chris@0: interface RouteCompilerInterface Chris@0: { Chris@0: /** Chris@0: * Compiles the current route instance. Chris@0: * Chris@0: * @return CompiledRoute A CompiledRoute instance Chris@0: * Chris@0: * @throws \LogicException If the Route cannot be compiled because the Chris@0: * path or host pattern is invalid Chris@0: */ Chris@0: public static function compile(Route $route); Chris@0: }