This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Components/Routing/RouteCompilerInterface.php

32 lines
763 B
PHP
Raw Normal View History

2010-02-17 13:53:31 +00:00
<?php
namespace Symfony\Components\Routing;
/*
* This file is part of the Symfony framework.
2010-02-17 13:53:31 +00:00
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* 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
2010-02-17 13:53:31 +00:00
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
interface RouteCompilerInterface
{
/**
* Compiles the current route instance.
*
* @param Route $route A Route instance
*
* @param CompiledRoute A CompiledRoute instance
*/
public function compile(Route $route);
2010-02-17 13:53:31 +00:00
}