Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager::__construct PHP Method

__construct() public method

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;
    }