Skip to content

Conversation

alamirault
Copy link
Contributor

Fix #20921

I added type php exlicitly. I think perf are better, (PhpFileLoader is used). Tell me if it's ok or not

@carsonbot carsonbot added this to the 7.3 milestone Apr 28, 2025
@xabbuh
Copy link
Member

xabbuh commented Apr 28, 2025

I added type php exlicitly. I think perf are better, (PhpFileLoader is used). Tell me if it's ok or not

I am not against it, but I wouldn't expect this to actually make a real difference.

@javiereguiluz
Copy link
Member

There shouldn't be any difference in performance (the route config, whatever its format, is compiled into some special routing files in PHP) but this is important because a long-term goal is to get rid of XML config everywhere. Thanks Antoine!

@javiereguiluz javiereguiluz merged commit dd80b55 into symfony:7.3 Apr 29, 2025
3 checks passed
@alamirault alamirault deleted the feature/20921-routing-php branch April 29, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add PHP config support for routing
4 participants