Scheb\TwoFactorBundle\Security\TwoFactor\Provider\TwoFactorProviderRegistry::__construct PHP Метод

__construct() публичный Метод

Initialize with an array of registered two-factor providers.
public __construct ( SessionFlagManager $flagManager, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, string $authRequestParameter, array $providers = [] )
$flagManager Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$authRequestParameter string
$providers array
    public function __construct(SessionFlagManager $flagManager, EventDispatcherInterface $eventDispatcher, $authRequestParameter, $providers = array())
    {
        $this->flagManager = $flagManager;
        $this->providers = $providers;
        $this->eventDispatcher = $eventDispatcher;
        $this->authRequestParameter = $authRequestParameter;
    }