[TASK] Deprecate CacheFactory 22/48322/3
authorBenni Mack <benni@typo3.org>
Fri, 27 May 2016 11:18:59 +0000 (13:18 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 30 May 2016 08:34:03 +0000 (10:34 +0200)
commit331c6c79ebd90e8ab4bb0ab6aa3fe19b04599eea
tree12eae325393005ac4be8fbac253c70d12cecbf6f
parent6fc2f9af58182ef7c82ffb33aa7673a215eaa0e9
[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>
19 files changed:
typo3/sysext/core/Classes/Cache/CacheFactory.php
typo3/sysext/core/Classes/Cache/CacheManager.php
typo3/sysext/core/Classes/Cache/DatabaseSchemaService.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-76370-DeprecateCacheFactory.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/CacheFactoryTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php
typo3/sysext/core/Tests/Unit/Cache/FactoryTest.php [deleted file]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendConfigurationOptionFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendDefaultFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendInitializeObjectFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendBackendInstanceFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendDefaultFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendIdentifierFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendInitializeObjectFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/last_synched_revision [deleted file]
typo3/sysext/install/Classes/Service/ClearCacheService.php