Skip to content

[12.x] Pass LoggerInterface when constructing RoundrobinTransport instance - #57956

Merged
taylorotwell merged 1 commit into
laravel:12.xfrom
jnoordsij:add-logger-roundrobin-transport
Nov 27, 2025
Merged

taylorotwell merged 1 commit into
laravel:12.xfrom
jnoordsij:add-logger-roundrobin-transport

Conversation

@jnoordsij

Copy link
Copy Markdown
Contributor

(This is #56244 repeated now Symfony 7.4 is released)

As a follow-up to symfony/symfony#60110 which introduces an additional constructor property logger to the RoundRobinTransport class, this PR ensures the app-bound LoggerInterface will be passed when constructing such a class.

Note that this will require Symfony 7.4.0 or higher, which is due for release in November 2025. Given that passing additional parameters to constructors is allowed in PHP (they are just silently ignored), this PR as such is both backwards and forwards compatible, however at current would do effectively nothing. If therefore it is preferable to keep this as draft until (near) the release of Symfony 7.4, that is also perfectly fine with me.

@taylorotwell
taylorotwell merged commit a925110 into laravel:12.x Nov 27, 2025
64 of 65 checks passed
@jnoordsij
jnoordsij deleted the add-logger-roundrobin-transport branch November 28, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants