|
42 | 42 | use Symfony\Component\Console\EventListener\ErrorListener;
|
43 | 43 | use Symfony\Component\Dotenv\Command\DebugCommand as DotenvDebugCommand;
|
44 | 44 | use Symfony\Component\Messenger\Command\ConsumeMessagesCommand;
|
45 |
| -use Symfony\Component\Messenger\Command\DebugCommand; |
| 45 | +use Symfony\Component\Messenger\Command\DebugCommand as MessengerDebugCommand; |
46 | 46 | use Symfony\Component\Messenger\Command\FailedMessagesRemoveCommand;
|
47 | 47 | use Symfony\Component\Messenger\Command\FailedMessagesRetryCommand;
|
48 | 48 | use Symfony\Component\Messenger\Command\FailedMessagesShowCommand;
|
49 | 49 | use Symfony\Component\Messenger\Command\SetupTransportsCommand;
|
50 | 50 | use Symfony\Component\Messenger\Command\StatsCommand;
|
51 | 51 | use Symfony\Component\Messenger\Command\StopWorkersCommand;
|
| 52 | +use Symfony\Component\Scheduler\Command\DebugCommand as SchedulerDebugCommand; |
52 | 53 | use Symfony\Component\Translation\Command\TranslationPullCommand;
|
53 | 54 | use Symfony\Component\Translation\Command\TranslationPushCommand;
|
54 | 55 | use Symfony\Component\Translation\Command\XliffLintCommand;
|
|
172 | 173 | ])
|
173 | 174 | ->tag('console.command')
|
174 | 175 |
|
175 |
| - ->set('console.command.messenger_debug', DebugCommand::class) |
| 176 | + ->set('console.command.messenger_debug', MessengerDebugCommand::class) |
176 | 177 | ->args([
|
177 | 178 | [], // Message to handlers mapping
|
178 | 179 | ])
|
|
218 | 219 | ])
|
219 | 220 | ->tag('console.command')
|
220 | 221 |
|
| 222 | + ->set('console.command.scheduler_debug', SchedulerDebugCommand::class) |
| 223 | + ->args([ |
| 224 | + tagged_locator('scheduler.schedule_provider', 'name'), |
| 225 | + ]) |
| 226 | + ->tag('console.command') |
| 227 | + |
221 | 228 | ->set('console.command.router_debug', RouterDebugCommand::class)
|
222 | 229 | ->args([
|
223 | 230 | service('router'),
|
|
0 commit comments