[TYPO3-core] RFC: #11836: Remove final from classes
Benjamin Mack
benni at typo3.org
Wed Sep 2 10:48:19 CEST 2009
Hi Steffen,
On 01.09.09 10:45, Steffen Kamper wrote:
> Hi,
>
> i expected negative voting, nethertheless it's worth to think about that
> architecture and about possibilities to do it a more flexible way.
> Unit tests is a good example for the limitation, see the test with
> t3lib_extmgm where first test always fails.
> Maybe we find a solution, as Masi already suggested singleton pattern.
-1 on this idea from me as well.
I propose something like this:
t3lib_div::getInstance()->array2xml($arr);
then, we use the magic function __call with a hook inside to call
additional functions from extensions.
That's IMHO a very clean way that is also very extendable.
All the best
Benni.
More information about the TYPO3-team-core
mailing list