Deprecation: #90260 - ResourceFactory::getInstance pseudo-factory¶
See Issue #90260
ResourceFactory::getInstance() acts as a wrapper
for the constructor which originally was meant as a performance
improvement as pseudo-singleton concept in TYPO3 v4.7.
ResourceFactory was never optimized and now with Dependency
ResourceFactory can be used directly.
Therefore the method has been marked as deprecated.
ResourceFactory::getInstance() will trigger a PHP
Any TYPO3 installation with custom PHP code calling the method.
Check TYPO3’s “Extension Scanner” in the Install Tool if you’re affected and replace with constructor injection via Dependency
Injection if possible, or use
The latter can already applied in earlier versions (TYPO3 v7 or higher) to ease optimal migration of this deprecation.