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)