* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ /** * RouteCompilerInterface is the interface that all RouteCompiler classes must implements. * * @package Symfony * @subpackage Components_Routing * @author Fabien Potencier */ interface RouteCompilerInterface { /** * Compiles the current route instance. * * @param Route $route A Route instance * * @param CompiledRoute A CompiledRoute instance */ public function compile(Route $route); }