bassim/Violet-DoctrineEntity-Generator — comment on commit 1576a84460177e3d0b5dca04896d48fc6f386370
File: libs/Violet/Translator.php line 23
By bassim:

Cheers for the suggestion, this is indeed a better way to go.

https://github.com/bassim/Violet-DoctrineEntity-Generator/commit/9c259c4c8d95bdb065426576e52fca1ffe7ea26e

On Dec 19, 2011, at 11:15 AM, Filip Procházka wrote:

> Just for this, I might today write a few lines for the project. Why would you use $GLOBALS?
>
> Translator should be registered as a service to container and passed where needed.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/bassim/Violet-DoctrineEntity-Generator/commit/1576a84460177e3d0b5dca04896d48fc6f386370#commitcomment-805651