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

Jigal van Hemert jigal.van.hemert at typo3.org
Fri Feb 27 15:16:27 CET 2015


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.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list