var/cache/dev/ContainerFxPBOez/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 \Closure|null initializer responsible for generating the wrapped object
  7.      */
  8.     private $valueHolder7938e null;
  9.     /**
  10.      * @var \Closure|null initializer responsible for generating the wrapped object
  11.      */
  12.     private $initializer44fd4 null;
  13.     /**
  14.      * @var bool[] map of public properties of the parent class
  15.      */
  16.     private static $publicProperties84515 = [
  17.         
  18.     ];
  19.     public function onKernelResponse($event) : void
  20.     {
  21.         $this->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'onKernelResponse', array('event' => $event), $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  22.         $this->valueHolder7938e->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->initializer44fd4 $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->valueHolder7938e) {
  45.             $reflection $reflection ?? new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
  46.             $this->valueHolder7938e $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->valueHolder7938e->__construct($trustedTokenStorage$trustedTokenLifetime$cookieName$cookieSecure$cookieSameSite$cookiePath$cookieDomain);
  52.     }
  53.     public function & __get($name)
  54.     {
  55.         $this->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'__get', ['name' => $name], $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  56.         if (isset(self::$publicProperties84515[$name])) {
  57.             return $this->valueHolder7938e->$name;
  58.         }
  59.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  60.         if (! $realInstanceReflection->hasProperty($name)) {
  61.             $targetObject $this->valueHolder7938e;
  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->valueHolder7938e;
  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->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'__set', array('name' => $name'value' => $value), $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  89.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  90.         if (! $realInstanceReflection->hasProperty($name)) {
  91.             $targetObject $this->valueHolder7938e;
  92.             return $targetObject->$name $value;
  93.             return;
  94.         }
  95.         $targetObject $this->valueHolder7938e;
  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->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'__isset', array('name' => $name), $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  108.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  109.         if (! $realInstanceReflection->hasProperty($name)) {
  110.             $targetObject $this->valueHolder7938e;
  111.             return isset($targetObject->$name);
  112.             return;
  113.         }
  114.         $targetObject $this->valueHolder7938e;
  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->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'__unset', array('name' => $name), $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  127.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  128.         if (! $realInstanceReflection->hasProperty($name)) {
  129.             $targetObject $this->valueHolder7938e;
  130.             unset($targetObject->$name);
  131.             return;
  132.         }
  133.         $targetObject $this->valueHolder7938e;
  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->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'__clone', array(), $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  146.         $this->valueHolder7938e = clone $this->valueHolder7938e;
  147.     }
  148.     public function __sleep()
  149.     {
  150.         $this->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'__sleep', array(), $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  151.         return array('valueHolder7938e');
  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)
  160.     {
  161.         $this->initializer44fd4 $initializer;
  162.     }
  163.     public function getProxyInitializer()
  164.     {
  165.         return $this->initializer44fd4;
  166.     }
  167.     public function initializeProxy() : bool
  168.     {
  169.         return $this->initializer44fd4 && ($this->initializer44fd4->__invoke($valueHolder7938e$this'initializeProxy', array(), $this->initializer44fd4) || 1) && $this->valueHolder7938e $valueHolder7938e;
  170.     }
  171.     public function isProxyInitialized() : bool
  172.     {
  173.         return null !== $this->valueHolder7938e;
  174.     }
  175.     public function getWrappedValueHolderValue() : ?object
  176.     {
  177.         return $this->valueHolder7938e;
  178.     }
  179. }