AccessMap::add()

add(RequestMatcherInterface $requestMatcher, array $attributes = array(), string|null $channel = null)

Constructor.

Parameters

RequestMatcherInterface $requestMatcher A RequestMatcherInterface instance
array $attributes An array of attributes to pass to the access decision manager (like roles)
string|null $channel The channel to enforce (http, https, or null)
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.