Symfony\Component\Security\Http\Firewall\SwitchUserListener::__construct
Constructor.
Signature
public function __construct(SecurityContextInterface
$securityContext,
[UserProviderInterface
$provider = null,
[UserCheckerInterface
$userChecker = null,
[AccessDecisionManagerInterface
$providerKey = null,
[AccessDecisionManagerInterface
$accessDecisionManager = null,
[LoggerInterface
$logger = null,
[EventDispatcherInterface
$usernameParameter = '_switch_user',
[EventDispatcherInterface
$role = 'ROLE_ALLOWED_TO_SWITCH',
[EventDispatcherInterface
$dispatcher = null]]]]]]]] )