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/Fixtures
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
..
containers [DependencyInjection] fix XML entities in XmlDumper 2011-01-14 16:56:44 +01:00
graphviz DI container optimization 2011-01-05 15:41:11 +01:00
includes [DependencyInjection] fix xml validation for extension in phar archive 2011-01-07 16:00:28 +01:00
ini renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
php made DIC tags only available during "compilation" 2011-01-17 11:40:04 +01:00
xml [DependencyInjection] fix XML entities in XmlDumper 2011-01-14 16:56:44 +01:00
yaml adds visibility to aliases 2011-01-07 15:58:48 +01:00