Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager::__construct PHP 메소드

__construct() 공개 메소드

Construct a manager that takes care of session flags.
public __construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagGenerator $flagGenerator )
$session Symfony\Component\HttpFoundation\Session\SessionInterface
$flagGenerator Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagGenerator
    public function __construct(SessionInterface $session, SessionFlagGenerator $flagGenerator)
    {
        $this->session = $session;
        $this->flagGenerator = $flagGenerator;
    }