[TASK] Deprecate CacheFactory
CacheManager and CacheFactory are tightly coupled and a different implemenation of the CacheFactory is not in sight and doesn't seem to be needed. The single method from CacheFactory is moved into CacheManager now and the factory is marked as deprecated and unused. Resolves: #76370 Releases: master Change-Id: I380edef47ebfd6d2cab044a562467c3b685ec96c Reviewed-on: https://review.typo3.org/48322 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
Showing
- typo3/sysext/core/Classes/Cache/CacheFactory.php 7 additions, 5 deletionstypo3/sysext/core/Classes/Cache/CacheFactory.php
- typo3/sysext/core/Classes/Cache/CacheManager.php 44 additions, 27 deletionstypo3/sysext/core/Classes/Cache/CacheManager.php
- typo3/sysext/core/Classes/Cache/DatabaseSchemaService.php 1 addition, 3 deletionstypo3/sysext/core/Classes/Cache/DatabaseSchemaService.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 0 additions, 4 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-76370-DeprecateCacheFactory.rst 26 additions, 0 deletions...ngelog/master/Deprecation-76370-DeprecateCacheFactory.rst
- typo3/sysext/core/Tests/Unit/Cache/CacheFactoryTest.php 0 additions, 0 deletionstypo3/sysext/core/Tests/Unit/Cache/CacheFactoryTest.php
- typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php 206 additions, 66 deletionstypo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendConfigurationOptionFixture.php 39 additions, 0 deletions...Unit/Cache/Fixtures/BackendConfigurationOptionFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendDefaultFixture.php 26 additions, 0 deletions.../core/Tests/Unit/Cache/Fixtures/BackendDefaultFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendFixture.php 52 additions, 0 deletions.../sysext/core/Tests/Unit/Cache/Fixtures/BackendFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendInitializeObjectFixture.php 26 additions, 0 deletions...ts/Unit/Cache/Fixtures/BackendInitializeObjectFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendBackendInstanceFixture.php 28 additions, 0 deletions...ts/Unit/Cache/Fixtures/FrontendBackendInstanceFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendDefaultFixture.php 26 additions, 0 deletions...core/Tests/Unit/Cache/Fixtures/FrontendDefaultFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendFixture.php 79 additions, 0 deletions...sysext/core/Tests/Unit/Cache/Fixtures/FrontendFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendIdentifierFixture.php 28 additions, 0 deletions...e/Tests/Unit/Cache/Fixtures/FrontendIdentifierFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendInitializeObjectFixture.php 26 additions, 0 deletions...s/Unit/Cache/Fixtures/FrontendInitializeObjectFixture.php
- typo3/sysext/core/Tests/Unit/Cache/last_synched_revision 0 additions, 1 deletiontypo3/sysext/core/Tests/Unit/Cache/last_synched_revision
- typo3/sysext/install/Classes/Service/ClearCacheService.php 0 additions, 3 deletionstypo3/sysext/install/Classes/Service/ClearCacheService.php
Please register or sign in to comment