#111403Free remaining registries and core services from SingletonInterface
Description
Follow-up to #110578.
SingletonInterface only turns a class into a shared and public service, so GeneralUtility::makeInstance() can reach it. Sharing is the container default anyway. The marker is dropped from the remaining Core classes where this is the only effect:
- TYPO3\CMS\Core\Registry
- TYPO3\CMS\Core\Imaging\IconRegistry
- TYPO3\CMS\Core\Page\ImportMapFactory
- TYPO3\CMS\Core\Resource\Collection\FileCollectionRegistry
- TYPO3\CMS\Core\Resource\Driver\DriverRegistry
- TYPO3\CMS\Core\Html\DefaultSanitizerBuilder
- TYPO3\CMS\Core\Html\PreviewSanitizerBuilder
- TYPO3\CMS\Core\Routing\SiteMatcher
- TYPO3\CMS\Core\Session\SessionManager
- TYPO3\CMS\Form\Slot\FilePersistenceSlot
- TYPO3\CMS\Form\Slot\ResourcePublicationSlot
Classes that are fetched by class name are declared public explicitly, so makeInstance() call sites keep working.
Reviews 1
Related issues 1
History 23
-
Benni Mack changed Related to #110578 <span data-processor="relativetime" data-value="2026-11-11T07:23:07+00:00" > 11/11/26, 07:23 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 97531 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-11T07:26:44+00:00" > 11/11/26, 07:26 </span> -
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-11T13:15:15+00:00" > 11/11/26, 13:15 </span>
Applied in changeset commit:f43866fd1e0a0271175a75e665e16cfbaf57f46f.