[FEATURE] Provide core cache frontends via dependency injection
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid / Configuration / Services.yaml
1 services:
2 _defaults:
3 autowire: true
4 autoconfigure: true
5 public: false
6
7 TYPO3\CMS\Fluid\:
8 resource: '../Classes/*'
9
10 # Templateview has $context = null, symfony auto-injects in that case,
11 # extbase did not, force passing `null`
12 TYPO3\CMS\Fluid\View\TemplateView:
13 arguments:
14 $context: null
15
16 cache.fluid_template:
17 class: TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
18 factory: ['@TYPO3\CMS\Core\Cache\CacheManager', 'getCache']
19 arguments: ['fluid_template']