Skip to content

Commit f99861c

Browse files
committed
feature #54589 [Messenger] forward a Clock instance to the created InMemoryTransport (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [Messenger] forward a Clock instance to the created InMemoryTransport | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | Fix symfony/symfony#53531 (comment) | License | MIT Commits ------- 1cfd8b57e9 forward a Clock instance to the created InMemoryTransport
2 parents fbab1fb + 1bda227 commit f99861c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Resources/config/messenger.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@
135135
->tag('messenger.transport_factory')
136136

137137
->set('messenger.transport.in_memory.factory', InMemoryTransportFactory::class)
138+
->args([
139+
service('clock')->nullOnInvalid(),
140+
])
138141
->tag('messenger.transport_factory')
139142
->tag('kernel.reset', ['method' => 'reset'])
140143

0 commit comments

Comments
 (0)