[TYPO3-mvc] Where is the right place for methods like sendEmailAfterNewObjectIsSaved() in your extbase extension?
Roland
most.wanted at gmx.at
Tue Jun 26 09:37:48 CEST 2012
Am 25.06.12 18:05, schrieb Roland:
>>> should it be instantiated via dependency injection?
>>
>>
>> That doesn't really matter. But yes :)
>
> could it be that you can not create an object based on a class located
> in the service folder via DI? i successfully inject a repository in this
> controller, but i fail injecting my service. creating the object via
> t3lib_div::makeInstance works. wired. where is MY fault? wired.
>
> roland
must have been a typo or something like this - now it works as expected.
roland
More information about the TYPO3-project-typo3v4mvc
mailing list