var/cache/dev/ContainerWTG0HMc/TrustedCookieResponseListener_c7f9b85.php line 24

Open in your IDE?
  1. <?php
  2. include_once \dirname(__DIR__4).'/vendor/scheb/two-factor-bundle/Security/TwoFactor/Trusted/TrustedCookieResponseListener.php';
  3. class TrustedCookieResponseListener_c7f9b85 extends \Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener implements \ProxyManager\Proxy\VirtualProxyInterface
  4. {
  5.     /**
  6.      * @var \Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener|null wrapped object, if the proxy is initialized
  7.      */
  8.     private $valueHolder7bbb0 null;
  9.     /**
  10.      * @var \Closure|null initializer responsible for generating the wrapped object
  11.      */
  12.     private $initializer4ce1a null;
  13.     /**
  14.      * @var bool[] map of public properties of the parent class
  15.      */
  16.     private static $publicProperties2b1e5 = [
  17.         
  18.     ];
  19.     public function onKernelResponse($event) : void
  20.     {
  21.         $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'onKernelResponse', array('event' => $event), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  22.         $this->valueHolder7bbb0->onKernelResponse($event);
  23. return;
  24.     }
  25.     /**
  26.      * Constructor for lazy initialization
  27.      *
  28.      * @param \Closure|null $initializer
  29.      */
  30.     public static function staticProxyConstructor($initializer)
  31.     {
  32.         static $reflection;
  33.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  34.         $instance   $reflection->newInstanceWithoutConstructor();
  35.         \Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener $instance) {
  36.             unset($instance->trustedTokenStorage$instance->trustedTokenLifetime$instance->cookieName$instance->cookieSecure$instance->cookieSameSite$instance->cookiePath$instance->cookieDomain);
  37.         }, $instance'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener')->__invoke($instance);
  38.         $instance->initializer4ce1a $initializer;
  39.         return $instance;
  40.     }
  41.     public function __construct(\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedDeviceTokenStorage $trustedTokenStorageint $trustedTokenLifetimestring $cookieNamebool $cookieSecure, ?string $cookieSameSite, ?string $cookiePath, ?string $cookieDomain)
  42.     {
  43.         static $reflection;
  44.         if (! $this->valueHolder7bbb0) {
  45.             $reflection $reflection ?? new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
  46.             $this->valueHolder7bbb0 $reflection->newInstanceWithoutConstructor();
  47.         \Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener $instance) {
  48.             unset($instance->trustedTokenStorage$instance->trustedTokenLifetime$instance->cookieName$instance->cookieSecure$instance->cookieSameSite$instance->cookiePath$instance->cookieDomain);
  49.         }, $this'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener')->__invoke($this);
  50.         }
  51.         $this->valueHolder7bbb0->__construct($trustedTokenStorage$trustedTokenLifetime$cookieName$cookieSecure$cookieSameSite$cookiePath$cookieDomain);
  52.     }
  53.     public function & __get($name)
  54.     {
  55.         $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'__get', ['name' => $name], $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  56.         if (isset(self::$publicProperties2b1e5[$name])) {
  57.             return $this->valueHolder7bbb0->$name;
  58.         }
  59.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  60.         if (! $realInstanceReflection->hasProperty($name)) {
  61.             $targetObject $this->valueHolder7bbb0;
  62.             $backtrace debug_backtrace(false);
  63.             trigger_error(
  64.                 sprintf(
  65.                     'Undefined property: %s::$%s in %s on line %s',
  66.                     get_parent_class($this),
  67.                     $name,
  68.                     $backtrace[0]['file'],
  69.                     $backtrace[0]['line']
  70.                 ),
  71.                 \E_USER_NOTICE
  72.             );
  73.             return $targetObject->$name;
  74.             return;
  75.         }
  76.         $targetObject $this->valueHolder7bbb0;
  77.         $accessor = function & () use ($targetObject$name) {
  78.             return $targetObject->$name;
  79.         };
  80.         $backtrace debug_backtrace(true);
  81.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  82.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  83.         $returnValue = & $accessor();
  84.         return $returnValue;
  85.     }
  86.     public function __set($name$value)
  87.     {
  88.         $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'__set', array('name' => $name'value' => $value), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  89.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  90.         if (! $realInstanceReflection->hasProperty($name)) {
  91.             $targetObject $this->valueHolder7bbb0;
  92.             return $targetObject->$name $value;
  93.             return;
  94.         }
  95.         $targetObject $this->valueHolder7bbb0;
  96.         $accessor = function & () use ($targetObject$name$value) {
  97.             return $targetObject->$name $value;
  98.         };
  99.         $backtrace debug_backtrace(true);
  100.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  101.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  102.         $returnValue = & $accessor();
  103.         return $returnValue;
  104.     }
  105.     public function __isset($name)
  106.     {
  107.         $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'__isset', array('name' => $name), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  108.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  109.         if (! $realInstanceReflection->hasProperty($name)) {
  110.             $targetObject $this->valueHolder7bbb0;
  111.             return isset($targetObject->$name);
  112.             return;
  113.         }
  114.         $targetObject $this->valueHolder7bbb0;
  115.         $accessor = function () use ($targetObject$name) {
  116.             return isset($targetObject->$name);
  117.         };
  118.         $backtrace debug_backtrace(true);
  119.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  120.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  121.         $returnValue $accessor();
  122.         return $returnValue;
  123.     }
  124.     public function __unset($name)
  125.     {
  126.         $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'__unset', array('name' => $name), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  127.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  128.         if (! $realInstanceReflection->hasProperty($name)) {
  129.             $targetObject $this->valueHolder7bbb0;
  130.             unset($targetObject->$name);
  131.             return;
  132.         }
  133.         $targetObject $this->valueHolder7bbb0;
  134.         $accessor = function () use ($targetObject$name) {
  135.             unset($targetObject->$name);
  136.         };
  137.         $backtrace debug_backtrace(true);
  138.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  139.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  140.         $returnValue $accessor();
  141.         return $returnValue;
  142.     }
  143.     public function __clone()
  144.     {
  145.         $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'__clone', array(), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  146.         $this->valueHolder7bbb0 = clone $this->valueHolder7bbb0;
  147.     }
  148.     public function __sleep()
  149.     {
  150.         $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'__sleep', array(), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  151.         return array('valueHolder7bbb0');
  152.     }
  153.     public function __wakeup()
  154.     {
  155.         \Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener $instance) {
  156.             unset($instance->trustedTokenStorage$instance->trustedTokenLifetime$instance->cookieName$instance->cookieSecure$instance->cookieSameSite$instance->cookiePath$instance->cookieDomain);
  157.         }, $this'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener')->__invoke($this);
  158.     }
  159.     public function setProxyInitializer(\Closure $initializer null) : void
  160.     {
  161.         $this->initializer4ce1a $initializer;
  162.     }
  163.     public function getProxyInitializer() : ?\Closure
  164.     {
  165.         return $this->initializer4ce1a;
  166.     }
  167.     public function initializeProxy() : bool
  168.     {
  169.         return $this->initializer4ce1a && ($this->initializer4ce1a->__invoke($valueHolder7bbb0$this'initializeProxy', array(), $this->initializer4ce1a) || 1) && $this->valueHolder7bbb0 $valueHolder7bbb0;
  170.     }
  171.     public function isProxyInitialized() : bool
  172.     {
  173.         return null !== $this->valueHolder7bbb0;
  174.     }
  175.     public function getWrappedValueHolderValue() : ?object
  176.     {
  177.         return $this->valueHolder7bbb0;
  178.     }
  179. }