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/tests/Symfony/Tests/Component/DependencyInjection
Fabien Potencier c5f2ec8d2d made DIC tags only available during "compilation"
Now that we have a compilation phase for the DIC, using tags after compilation
is not needed anymore.

Tags were introduced to allow several independant bundles to be able to
interact which each others (remember that each extension knows nothing about
the others).

But during the compilation phase, the container has been merged ans so, all
the information from all bundles are available. This is then the right place
to deal with tags. That way, less work is needed at runtime and the DIC class
in the cache is also much smaller.

For simple cases, it means that you need to process the tag in a compiler pass
and store the information you need in a DIC parameter (have a look at the
TranslatorPass for a very simple example).

So, the PHP dumper does not add tags to the dumped PHP class anymore (it does
not implements TaggedContainerInterface anymore). But tags are still available
on ContainerBuilder instances.
2011-01-17 11:40:04 +01:00
..
Compiler renamed Container::freeze() to Container::compile() 2011-01-16 08:12:36 +01:00
Dumper renamed Container::freeze() to Container::compile() 2011-01-16 08:12:36 +01:00
Extension renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
Fixtures made DIC tags only available during "compilation" 2011-01-17 11:40:04 +01:00
Loader renamed Container::freeze() to Container::compile() 2011-01-16 08:12:36 +01:00
ParameterBag renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
Resource Fixed visibility of PHPUnit setUp and tearDown methods. 2010-12-06 15:52:23 +01:00
ContainerBuilderTest.php [DependencyInjection] added compiler passes as resources 2011-01-16 10:20:10 +01:00
ContainerTest.php renamed Container::freeze() to Container::compile() 2011-01-16 08:12:36 +01:00
CrossCheckTest.php renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
DefinitionTest.php tweaked DI container 2010-12-30 15:59:52 +01:00
InterfaceInjectorTest.php [InterfaceInjector] Fix a typo in the tests 2011-01-11 20:29:17 +01:00
ParameterTest.php renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
ReferenceTest.php renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00