box-project / box2

An application for building and managing Phars.
https://box-project.github.io/box2/
MIT License
1.19k stars 80 forks source link

Use Symfony DIC to manage observer registration. #70

Open ghost opened 10 years ago

ghost commented 10 years ago

What I'm trying to do with observer registration is very close to a bastardized version of the dependency injection pattern. I need to abandon my cheap clone and use the symfony/dependency-injection package to manage the registration of observers. A secondary configuration file will need for the sole purpose of configuring the container, which must be specified in the box.* configuration file.

cordoval commented 10 years ago

do you think gush is the same case?

ghost commented 10 years ago

Sorry, but I don't really know how to answer that. If you're asking if Gush should use a DIC, that would be up to you to decide.