[HttpFoundation] Add a way to match a specific scheme in RequestMatcher #10556
Labels
Feature
Good first issue
Ideal for your first contribution! (some Symfony experience may be required)
HttpFoundation
I've come across the need to match the scheme of a request for a security firewall and ended up with this class. I was wondering if it should be merged into the core. WDYT ?
The code is inspired by
\Symfony\Component\HttpFoundation\RequestMatcher::matchMethod()
.The text was updated successfully, but these errors were encountered: