[TYPO3-core] CGL, the global keyword

Alexander Stehlik alexander.stehlik at gmail.com
Wed Oct 16 14:40:10 CEST 2013


I'm wondering why global variables are used any more at all. It would be 
much nicer to make use of the singleton interface and class injection.

If something is changed about the globals than I would suggest to 
replace them with injected singletons.

Just my 2 cents :)


Am 16.10.2013 14:21, schrieb Dmitry Dulepov:
> Hi!
> Christoph Dörfel wrote:
>> Even if we keep the current CGL on the global keyword
> Why would we change it? :)

More information about the TYPO3-team-core mailing list