[FEATURE] Provide core cache frontends via dependency injection
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Configuration / Services.yaml
1 services:
2 _defaults:
3 autowire: true
4 autoconfigure: true
5 public: false
6
7 TYPO3\CMS\Extbase\:
8 resource: '../Classes/*'
9
10 TYPO3\CMS\Extbase\Core\BootstrapInterface:
11 alias: TYPO3\CMS\Extbase\Core\Bootstrap
12
13 TYPO3\CMS\Extbase\Core\Bootstrap:
14 public: true
15 shared: false
16
17 TYPO3\CMS\Extbase\Object\ObjectManagerInterface:
18 alias: TYPO3\CMS\Extbase\Object\ObjectManager
19
20 # formerly in EXT:extbase/ext_localconf.php
21 TYPO3\CMS\Extbase\Persistence\QueryInterface:
22 alias: TYPO3\CMS\Extbase\Persistence\Generic\Query
23 TYPO3\CMS\Extbase\Persistence\QueryResultInterface:
24 alias: TYPO3\CMS\Extbase\Persistence\Generic\QueryResult
25 TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface:
26 alias: TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager
27 TYPO3\CMS\Extbase\Persistence\Generic\Storage\BackendInterface:
28 alias: TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend
29 TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface:
30 alias: TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings
31
32 # Set incompatible classes to null, these require (runtime) parametrized
33 # prototype instantiation
34 TYPO3\CMS\Extbase\Persistence\Generic\Query: ~
35 TYPO3\CMS\Extbase\Persistence\Generic\QueryResult: ~
36 TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings: ~
37
38 cache.extbase:
39 class: TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
40 factory: ['@TYPO3\CMS\Core\Cache\CacheManager', 'getCache']
41 arguments: ['extbase']