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 21
21
22
22
final class Schedule implements ScheduleProviderInterface
23
23
{
24
- public function __construct (
25
- private readonly ?EventDispatcherInterface $ dispatcher = null ,
26
- ) {
27
- }
28
-
29
24
/** @var array<string,RecurringMessage> */
30
25
private array $ messages = [];
31
26
private ?LockInterface $ lock = null ;
32
27
private ?CacheInterface $ state = null ;
33
28
private bool $ shouldRestart = false ;
34
29
private bool $ onlyLastMissed = false ;
35
30
31
+ public function __construct (
32
+ private readonly ?EventDispatcherInterface $ dispatcher = null ,
33
+ ) {
34
+ }
35
+
36
36
public function with (RecurringMessage $ message , RecurringMessage ...$ messages ): static
37
37
{
38
38
return static ::doAdd (new self ($ this ->dispatcher ), $ message , ...$ messages );
You can’t perform that action at this time.
0 commit comments