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