[FEATURE] Provide core cache frontends via dependency injection
[Packages/TYPO3.CMS.git] / typo3 / sysext / workspaces / Configuration / Services.yaml
index fa6a502..a2a64f2 100644 (file)
@@ -6,3 +6,8 @@ services:
 
   TYPO3\CMS\Workspaces\:
     resource: '../Classes/*'
 
   TYPO3\CMS\Workspaces\:
     resource: '../Classes/*'
+
+  cache.workspaces:
+    class: TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
+    factory: ['@TYPO3\CMS\Core\Cache\CacheManager', 'getCache']
+    arguments: ['workspaces_cache']