[FEATURE] Provide core cache frontends via dependency injection
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Configuration / Services.yaml
index 366498c..691376f 100644 (file)
@@ -34,3 +34,8 @@ services:
   TYPO3\CMS\Extbase\Persistence\Generic\Query: ~
   TYPO3\CMS\Extbase\Persistence\Generic\QueryResult: ~
   TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings: ~
   TYPO3\CMS\Extbase\Persistence\Generic\Query: ~
   TYPO3\CMS\Extbase\Persistence\Generic\QueryResult: ~
   TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings: ~
+
+  cache.extbase:
+    class: TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
+    factory: ['@TYPO3\CMS\Core\Cache\CacheManager', 'getCache']
+    arguments: ['extbase']