<?php

include_once \dirname(__DIR__, 4).'/vendor/scheb/2fa-trusted-device/Security/TwoFactor/Trusted/TrustedDeviceTokenStorage.php';
class TrustedDeviceTokenStorage_fc7b3c4 extends \Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedDeviceTokenStorage implements \ProxyManager\Proxy\VirtualProxyInterface
{
    private $valueHolder04267 = null;
    private $initializer4e795 = null;
    private static $publicPropertiesbbc9e = [
        
    ];
    public function hasUpdatedCookie() : bool
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, 'hasUpdatedCookie', array(), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        return $this->valueHolder04267->hasUpdatedCookie();
    }
    public function getCookieValue() : ?string
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, 'getCookieValue', array(), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        return $this->valueHolder04267->getCookieValue();
    }
    public function hasTrustedToken(string $username, string $firewall, int $version) : bool
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, 'hasTrustedToken', array('username' => $username, 'firewall' => $firewall, 'version' => $version), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        return $this->valueHolder04267->hasTrustedToken($username, $firewall, $version);
    }
    public function addTrustedToken(string $username, string $firewall, int $version) : void
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, 'addTrustedToken', array('username' => $username, 'firewall' => $firewall, 'version' => $version), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        $this->valueHolder04267->addTrustedToken($username, $firewall, $version);
return;
    }
    public function clearTrustedToken(string $username, string $firewall) : void
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, 'clearTrustedToken', array('username' => $username, 'firewall' => $firewall), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        $this->valueHolder04267->clearTrustedToken($username, $firewall);
return;
    }
    public static function staticProxyConstructor($initializer)
    {
        static $reflection;
        $reflection = $reflection ?? new \ReflectionClass(__CLASS__);
        $instance   = $reflection->newInstanceWithoutConstructor();
        \Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedDeviceTokenStorage $instance) {
            unset($instance->requestStack, $instance->tokenGenerator, $instance->cookieName, $instance->trustedTokenList, $instance->updateCookie);
        }, $instance, 'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage')->__invoke($instance);
        $instance->initializer4e795 = $initializer;
        return $instance;
    }
    public function __construct(\Symfony\Component\HttpFoundation\RequestStack $requestStack, \Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedDeviceTokenEncoder $tokenGenerator, string $cookieName)
    {
        static $reflection;
        if (! $this->valueHolder04267) {
            $reflection = $reflection ?? new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage');
            $this->valueHolder04267 = $reflection->newInstanceWithoutConstructor();
        \Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedDeviceTokenStorage $instance) {
            unset($instance->requestStack, $instance->tokenGenerator, $instance->cookieName, $instance->trustedTokenList, $instance->updateCookie);
        }, $this, 'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage')->__invoke($this);
        }
        $this->valueHolder04267->__construct($requestStack, $tokenGenerator, $cookieName);
    }
    public function & __get($name)
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, '__get', ['name' => $name], $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        if (isset(self::$publicPropertiesbbc9e[$name])) {
            return $this->valueHolder04267->$name;
        }
        $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage');
        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolder04267;
            $backtrace = debug_backtrace(false, 1);
            trigger_error(
                sprintf(
                    'Undefined property: %s::$%s in %s on line %s',
                    $realInstanceReflection->getName(),
                    $name,
                    $backtrace[0]['file'],
                    $backtrace[0]['line']
                ),
                \E_USER_NOTICE
            );
            return $targetObject->$name;
        }
        $targetObject = $this->valueHolder04267;
        $accessor = function & () use ($targetObject, $name) {
            return $targetObject->$name;
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $returnValue = & $accessor();
        return $returnValue;
    }
    public function __set($name, $value)
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage');
        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolder04267;
            $targetObject->$name = $value;
            return $targetObject->$name;
        }
        $targetObject = $this->valueHolder04267;
        $accessor = function & () use ($targetObject, $name, $value) {
            $targetObject->$name = $value;
            return $targetObject->$name;
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $returnValue = & $accessor();
        return $returnValue;
    }
    public function __isset($name)
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, '__isset', array('name' => $name), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage');
        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolder04267;
            return isset($targetObject->$name);
        }
        $targetObject = $this->valueHolder04267;
        $accessor = function () use ($targetObject, $name) {
            return isset($targetObject->$name);
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $returnValue = $accessor();
        return $returnValue;
    }
    public function __unset($name)
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, '__unset', array('name' => $name), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage');
        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolder04267;
            unset($targetObject->$name);
            return;
        }
        $targetObject = $this->valueHolder04267;
        $accessor = function () use ($targetObject, $name) {
            unset($targetObject->$name);
            return;
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $accessor();
    }
    public function __clone()
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, '__clone', array(), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        $this->valueHolder04267 = clone $this->valueHolder04267;
    }
    public function __sleep()
    {
        $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, '__sleep', array(), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
        return array('valueHolder04267');
    }
    public function __wakeup()
    {
        \Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedDeviceTokenStorage $instance) {
            unset($instance->requestStack, $instance->tokenGenerator, $instance->cookieName, $instance->trustedTokenList, $instance->updateCookie);
        }, $this, 'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedDeviceTokenStorage')->__invoke($this);
    }
    public function setProxyInitializer(\Closure $initializer = null) : void
    {
        $this->initializer4e795 = $initializer;
    }
    public function getProxyInitializer() : ?\Closure
    {
        return $this->initializer4e795;
    }
    public function initializeProxy() : bool
    {
        return $this->initializer4e795 && ($this->initializer4e795->__invoke($valueHolder04267, $this, 'initializeProxy', array(), $this->initializer4e795) || 1) && $this->valueHolder04267 = $valueHolder04267;
    }
    public function isProxyInitialized() : bool
    {
        return null !== $this->valueHolder04267;
    }
    public function getWrappedValueHolderValue()
    {
        return $this->valueHolder04267;
    }
}
