[TYPO3-core] RFC #10497: Mark t3lib_div::makeInstanceClassName() as deprecated
Ingo Renner
ingo at typo3.org
Mon Mar 2 15:23:21 CET 2009
Dmitry Dulepov wrote:
> Slooooooooooooooooooooooooooooow because of reflection.
don't use it if you don't want to, stick to parameterless constructors:
$myObject = t3lib_div::makeInstance();
$myObject->setParam1();
$myObject->setParam2();
$myObject->setParam3();
nobody's forcing you to use it
best
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
More information about the TYPO3-team-core
mailing list