Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Open
Labels
Description
Description
Attribute to map request header to specific controller argument.
Similar tohttps://symfony.com/doc/current/controller.html#controller_map-request
Example
#[Route(path:'/', name:'admin_dashboard')]publicfunction index( #[MapRequestHeader]string$authorization, #[MapRequestHeader]array$accepts, #[MapRequestHeader]string$xCustomName,)
What do you think about it