[TYPO3-mvc] DI requirements

Sebastian Kurfürst sebastian at typo3.org
Sat Jan 22 07:02:27 CET 2011


Hey,
> your class needs to implement the t3lib_Singleton interface, because only those can be injected in a setter. Otherwise Extbase would not know which exact instance of the class should be injected.
This has been changed in RC1. Now prototypes are also allowed. See the
ChangeLog for further information.

Greets, Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list