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