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/Component/DependencyInjection/Compiler/CompilerPassInterface.php

30 lines
717 B
PHP
Raw Normal View History

2010-12-14 23:25:33 +00:00
<?php
/*
* This file is part of the Symfony package.
2010-12-14 23:25:33 +00:00
*
* (c) Fabien Potencier <fabien@symfony.com>
2010-12-14 23:25:33 +00:00
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
2010-12-14 23:25:33 +00:00
*/
namespace Symfony\Component\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\ContainerBuilder;
2010-12-14 23:25:33 +00:00
/**
2014-12-21 17:00:50 +00:00
* Interface that must be implemented by compilation passes.
2010-12-14 23:25:33 +00:00
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
interface CompilerPassInterface
{
/**
* You can modify the container here before it is dumped to PHP code.
*
* @param ContainerBuilder $container
*/
2012-07-09 13:50:58 +01:00
public function process(ContainerBuilder $container);
2010-12-14 23:25:33 +00:00
}