symfony/symfony — pull request #4789 by bamarni (2012-07-08 18:51:41+00:00)
Title: [ClassCollectionLoader] added a way to push tags when dumping classes

The first small change is a fix because comments aren't removed on classes witouth namespace.

Then my idea is to allow constants to be pushed in a class definition if it implements a given interface. A use case would be for example bundles, we could push their path locations, then we would be able to register them in a cache file.

What do you think?