Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | protected function registerCommands(Container $container): SchedulerServiceProvider |
||
42 | { |
||
43 | $container->extend('commands', function (array $commands, Container $container) { |
||
44 | $commands[] = new RunSchedulerCommand( |
||
45 | $container->offsetGet('scheduler'), |
||
46 | $container->offsetGet('lock_factory'), |
||
47 | $container->offsetGet('logger') |
||
48 | ); |
||
49 | |||
50 | return $commands; |
||
51 | }); |
||
52 | |||
53 | return $this; |
||
54 | } |
||
55 | } |
||
56 |