<?php
include_once \dirname(__DIR__, 4).'/vendor/scheb/two-factor-bundle/Security/TwoFactor/Trusted/TrustedCookieResponseListener.php';
class TrustedCookieResponseListener_c7f9b85 extends \Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener|null wrapped object, if the proxy is initialized
*/
private $valueHolder7bbb0 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer4ce1a = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties2b1e5 = [
];
public function onKernelResponse($event) : void
{
$this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, 'onKernelResponse', array('event' => $event), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
$this->valueHolder7bbb0->onKernelResponse($event);
return;
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener $instance) {
unset($instance->trustedTokenStorage, $instance->trustedTokenLifetime, $instance->cookieName, $instance->cookieSecure, $instance->cookieSameSite, $instance->cookiePath, $instance->cookieDomain);
}, $instance, 'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener')->__invoke($instance);
$instance->initializer4ce1a = $initializer;
return $instance;
}
public function __construct(\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedDeviceTokenStorage $trustedTokenStorage, int $trustedTokenLifetime, string $cookieName, bool $cookieSecure, ?string $cookieSameSite, ?string $cookiePath, ?string $cookieDomain)
{
static $reflection;
if (! $this->valueHolder7bbb0) {
$reflection = $reflection ?? new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
$this->valueHolder7bbb0 = $reflection->newInstanceWithoutConstructor();
\Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener $instance) {
unset($instance->trustedTokenStorage, $instance->trustedTokenLifetime, $instance->cookieName, $instance->cookieSecure, $instance->cookieSameSite, $instance->cookiePath, $instance->cookieDomain);
}, $this, 'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener')->__invoke($this);
}
$this->valueHolder7bbb0->__construct($trustedTokenStorage, $trustedTokenLifetime, $cookieName, $cookieSecure, $cookieSameSite, $cookiePath, $cookieDomain);
}
public function & __get($name)
{
$this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, '__get', ['name' => $name], $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
if (isset(self::$publicProperties2b1e5[$name])) {
return $this->valueHolder7bbb0->$name;
}
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder7bbb0;
$backtrace = debug_backtrace(false);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
get_parent_class($this),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
return;
}
$targetObject = $this->valueHolder7bbb0;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true);
$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->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder7bbb0;
return $targetObject->$name = $value;
return;
}
$targetObject = $this->valueHolder7bbb0;
$accessor = function & () use ($targetObject, $name, $value) {
return $targetObject->$name = $value;
};
$backtrace = debug_backtrace(true);
$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->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, '__isset', array('name' => $name), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder7bbb0;
return isset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder7bbb0;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$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->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, '__unset', array('name' => $name), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder7bbb0;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder7bbb0;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$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 __clone()
{
$this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, '__clone', array(), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
$this->valueHolder7bbb0 = clone $this->valueHolder7bbb0;
}
public function __sleep()
{
$this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, '__sleep', array(), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
return array('valueHolder7bbb0');
}
public function __wakeup()
{
\Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener $instance) {
unset($instance->trustedTokenStorage, $instance->trustedTokenLifetime, $instance->cookieName, $instance->cookieSecure, $instance->cookieSameSite, $instance->cookiePath, $instance->cookieDomain);
}, $this, 'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener')->__invoke($this);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializer4ce1a = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer4ce1a;
}
public function initializeProxy() : bool
{
return $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0, $this, 'initializeProxy', array(), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 = $valueHolder7bbb0;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder7bbb0;
}
public function getWrappedValueHolderValue() : ?object
{
return $this->valueHolder7bbb0;
}
}