[TYPO3-core] Wrapper methods around globals?

François Suter fsu-lists at cobweb.ch
Wed Mar 19 12:37:06 CET 2014


Hi Xavier,

> I think the wrapper method is indeed a very good idea. Now what Kay
> suggested is to assign it to a local variable. This will 1) keep the
> type hinting and IDE autocomplete mechanism and 2) prevent many "same"
> calls which indeed slow down the code.

I see. I had not interpreted Kay's comment quite the right way. But it's 
still good to have this discussion I guess.

Cheers

-- 

Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/



More information about the TYPO3-team-core mailing list