[TYPO3-english] Typo3 cms 7.1 - makeInstance of persistenceManager

Vikram Mandal vikram at fivee.in
Sat Feb 28 05:43:08 CET 2015


Hi Jigal,

Thank you for the info.

On 02/27/2015 07:46 PM, Jigal van Hemert wrote:
> Hi,
>
> On 27/02/2015 11:42, Vikram Mandal wrote:
>> For some reason i need a instance of persistenceManager.. i have no
>> choice.
>>
>> Now I am not able to get an instance of Tx_Extbase_Persistence_Manager
>> in Typo3 7.1
>>
>> ---------------
>> $persistenceManager =
>> \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Tx_Extbase_Persistence_Manager');
>>
>
> The class is currently known as
> TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager. The old class
> names can be used if you install the system extension "compatibility6",
> but it'll most likely cost you quite a bit of performance.
>
> If the objectManager can't give it to you makeInstance probably will.
>


-- 
regards
Vikram Mandal
--
FiveE Technologies.
http://FiveEtechnologies.com



More information about the TYPO3-english mailing list