You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #17373 Document the PSR-4 route loader (derrabus)
This PR was merged into the 6.2 branch.
Discussion
----------
Document the PSR-4 route loader
This PR documents symfony/symfony#47916
Although the PR does not deprecate `AnnotationDirectoryLoader` and `AnnotationFileLoader`, I chose to recommend only the new `Psr4DirectoryLoader` and `AnnotationDirectoryLoader` in `routing.rst`. In `routing/custom_route_loader.rst`, all four loaders are listed for completeness.
Using a class name as resource instead of a file path has always worked, but wasn't documented for some reason. I have added examples for that as well.
Commits
-------
ac2f793 Document the PSR-4 route loader
0 commit comments