Deprecation: #110477 - CommandRegistry->getSchedulableCommands()
See forge#110477
Description
The method
\TYPO3\ has
been marked as deprecated and will be removed in TYPO3 v16.0.
Impact
Calling the method triggers a PHP
E_ error.
Affected installations
Installations with custom extensions that call
Command are affected. The method is
not used by TYPO3 Core.
The extension scanner reports usages as a weak match.
Migration
Use
Command to retrieve
the configuration indexed by command identifier. If command instances are
needed, retrieve them individually with
Command:
foreach (array_keys($commandRegistry->getSchedulableCommandsConfiguration()) as $commandIdentifier) {
$command = $commandRegistry->get($commandIdentifier);
}