<?php
namespace Container0yQvzLk;
include_once \dirname(__DIR__, 4).'/vendor/scheb/2fa-trusted-device/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 $valueHoldera2c17 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer6ccca = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties592f2 = [
];
public function onKernelResponse(\Symfony\Component\HttpKernel\Event\ResponseEvent $event) : void
{
$this->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, 'onKernelResponse', array('event' => $event), $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
$this->valueHoldera2c17->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->initializer6ccca = $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->valueHoldera2c17) {
$reflection = $reflection ?? new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
$this->valueHoldera2c17 = $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->valueHoldera2c17->__construct($trustedTokenStorage, $trustedTokenLifetime, $cookieName, $cookieSecure, $cookieSameSite, $cookiePath, $cookieDomain);
}
public function & __get($name)
{
$this->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, '__get', ['name' => $name], $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
if (isset(self::$publicProperties592f2[$name])) {
return $this->valueHoldera2c17->$name;
}
$realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldera2c17;
$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->valueHoldera2c17;
$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->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
$realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldera2c17;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHoldera2c17;
$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->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, '__isset', array('name' => $name), $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
$realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldera2c17;
return isset($targetObject->$name);
}
$targetObject = $this->valueHoldera2c17;
$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->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, '__unset', array('name' => $name), $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
$realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldera2c17;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHoldera2c17;
$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->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, '__clone', array(), $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
$this->valueHoldera2c17 = clone $this->valueHoldera2c17;
}
public function __sleep()
{
$this->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, '__sleep', array(), $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
return array('valueHoldera2c17');
}
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->initializer6ccca = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer6ccca;
}
public function initializeProxy() : bool
{
return $this->initializer6ccca && ($this->initializer6ccca->__invoke($valueHoldera2c17, $this, 'initializeProxy', array(), $this->initializer6ccca) || 1) && $this->valueHoldera2c17 = $valueHoldera2c17;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHoldera2c17;
}
public function getWrappedValueHolderValue()
{
return $this->valueHoldera2c17;
}
}
if (!\class_exists('TrustedCookieResponseListener_c7f9b85', false)) {
\class_alias(__NAMESPACE__.'\\TrustedCookieResponseListener_c7f9b85', 'TrustedCookieResponseListener_c7f9b85', false);
}