<?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 \Closure|null initializer responsible for generating the wrapped object
*/
private $valueHolder1d64d = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer50325 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties5e994 = [
];
public function onKernelResponse($event) : void
{
$this->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, 'onKernelResponse', array('event' => $event), $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
$this->valueHolder1d64d->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->initializer50325 = $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->valueHolder1d64d) {
$reflection = $reflection ?? new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
$this->valueHolder1d64d = $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->valueHolder1d64d->__construct($trustedTokenStorage, $trustedTokenLifetime, $cookieName, $cookieSecure, $cookieSameSite, $cookiePath, $cookieDomain);
}
public function & __get($name)
{
$this->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, '__get', ['name' => $name], $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
if (isset(self::$publicProperties5e994[$name])) {
return $this->valueHolder1d64d->$name;
}
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1d64d;
$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->valueHolder1d64d;
$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->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1d64d;
return $targetObject->$name = $value;
return;
}
$targetObject = $this->valueHolder1d64d;
$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->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, '__isset', array('name' => $name), $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1d64d;
return isset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder1d64d;
$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->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, '__unset', array('name' => $name), $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1d64d;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder1d64d;
$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->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, '__clone', array(), $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
$this->valueHolder1d64d = clone $this->valueHolder1d64d;
}
public function __sleep()
{
$this->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, '__sleep', array(), $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
return array('valueHolder1d64d');
}
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)
{
$this->initializer50325 = $initializer;
}
public function getProxyInitializer()
{
return $this->initializer50325;
}
public function initializeProxy() : bool
{
return $this->initializer50325 && ($this->initializer50325->__invoke($valueHolder1d64d, $this, 'initializeProxy', array(), $this->initializer50325) || 1) && $this->valueHolder1d64d = $valueHolder1d64d;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder1d64d;
}
public function getWrappedValueHolderValue() : ?object
{
return $this->valueHolder1d64d;
}
}