File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Symfony/Component/Scheduler Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2121
2222final class Schedule implements ScheduleProviderInterface
2323{
24- public function __construct (
25- private readonly ?EventDispatcherInterface $ dispatcher = null ,
26- ) {
27- }
28-
2924 /** @var array<string,RecurringMessage> */
3025 private array $ messages = [];
3126 private ?LockInterface $ lock = null ;
3227 private ?CacheInterface $ state = null ;
3328 private bool $ shouldRestart = false ;
3429 private bool $ onlyLastMissed = false ;
3530
31+ public function __construct (
32+ private readonly ?EventDispatcherInterface $ dispatcher = null ,
33+ ) {
34+ }
35+
3636 public function with (RecurringMessage $ message , RecurringMessage ...$ messages ): static
3737 {
3838 return static ::doAdd (new self ($ this ->dispatcher ), $ message , ...$ messages );
You can’t perform that action at this time.
0 commit comments