[TYPO3-mvc] PersistenceManager deprecated, what to use now?
Henjo Hoeksma
me at henjohoeksma.nl
Thu Nov 10 22:13:34 CET 2011
Of course! Injection!
Thanks Marc.
Kind regards,
Henjo
Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.
On Thu, Nov 10, 2011 at 22:00, Marc Bastian Heinrichs <typo3 at mbh-web.de>wrote:
> Hej,
>
>
> I see the persistenceManager
>> (Tx_Extbase_Dispatcher::**getPersistenceManager()) is deprecated. What
>> is the
>> alternative? It would be fun to have that in the deprecationLog... ;-)
>>
>
> is deprecated since Extbase 1.3 (TYPO3 4.5).
>
> OLD: Tx_Extbase_Dispatcher::**getPersistenceManager()
> NEW: inject Tx_Extbase_Persistence_**ManagerInterface into your class
>
> http://forge.typo3.org/**projects/typo3v4-mvc/wiki/**Dispatcher_rework<http://forge.typo3.org/projects/typo3v4-mvc/wiki/Dispatcher_rework>
>
>
> Best
> Marc Bastian
>
> ______________________________**_________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at lists.typo3.org>
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**
> project-typo3v4mvc<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc>
>
More information about the TYPO3-project-typo3v4mvc
mailing list