var/cache/dev/ContainerXhyNa0j/TrustedCookieResponseListener_c7f9b85.php line 23

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 $valueHolder7f27b null;
  9.     /**
  10.      * @var \Closure|null initializer responsible for generating the wrapped object
  11.      */
  12.     private $initializer4e38e null;
  13.     /**
  14.      * @var bool[] map of public properties of the parent class
  15.      */
  16.     private static $publicPropertiesb4930 = [
  17.         
  18.     ];
  19.     public function onKernelResponse($event) : void
  20.     {
  21.         $this->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'onKernelResponse', array('event' => $event), $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  22.         $this->valueHolder7f27b->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->initializer4e38e $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->valueHolder7f27b) {
  45.             $reflection $reflection ?? new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
  46.             $this->valueHolder7f27b $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->valueHolder7f27b->__construct($trustedTokenStorage$trustedTokenLifetime$cookieName$cookieSecure$cookieSameSite$cookiePath$cookieDomain);
  52.     }
  53.     public function & __get($name)
  54.     {
  55.         $this->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'__get', ['name' => $name], $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  56.         if (isset(self::$publicPropertiesb4930[$name])) {
  57.             return $this->valueHolder7f27b->$name;
  58.         }
  59.         $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
  60.         if (! $realInstanceReflection->hasProperty($name)) {
  61.             $targetObject $this->valueHolder7f27b;
  62.             $backtrace debug_backtrace(false1);
  63.             trigger_error(
  64.                 sprintf(
  65.                     'Undefined property: %s::$%s in %s on line %s',
  66.                     $realInstanceReflection->getName(),
  67.                     $name,
  68.                     $backtrace[0]['file'],
  69.                     $backtrace[0]['line']
  70.                 ),
  71.                 \E_USER_NOTICE
  72.             );
  73.             return $targetObject->$name;
  74.         }
  75.         $targetObject $this->valueHolder7f27b;
  76.         $accessor = function & () use ($targetObject$name) {
  77.             return $targetObject->$name;
  78.         };
  79.         $backtrace debug_backtrace(true2);
  80.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  81.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  82.         $returnValue = & $accessor();
  83.         return $returnValue;
  84.     }
  85.     public function __set($name$value)
  86.     {
  87.         $this->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'__set', array('name' => $name'value' => $value), $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  88.         $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
  89.         if (! $realInstanceReflection->hasProperty($name)) {
  90.             $targetObject $this->valueHolder7f27b;
  91.             $targetObject->$name $value;
  92.             return $targetObject->$name;
  93.         }
  94.         $targetObject $this->valueHolder7f27b;
  95.         $accessor = function & () use ($targetObject$name$value) {
  96.             $targetObject->$name $value;
  97.             return $targetObject->$name;
  98.         };
  99.         $backtrace debug_backtrace(true2);
  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->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'__isset', array('name' => $name), $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  108.         $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
  109.         if (! $realInstanceReflection->hasProperty($name)) {
  110.             $targetObject $this->valueHolder7f27b;
  111.             return isset($targetObject->$name);
  112.         }
  113.         $targetObject $this->valueHolder7f27b;
  114.         $accessor = function () use ($targetObject$name) {
  115.             return isset($targetObject->$name);
  116.         };
  117.         $backtrace debug_backtrace(true2);
  118.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  119.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  120.         $returnValue $accessor();
  121.         return $returnValue;
  122.     }
  123.     public function __unset($name)
  124.     {
  125.         $this->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'__unset', array('name' => $name), $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  126.         $realInstanceReflection = new \ReflectionClass('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener');
  127.         if (! $realInstanceReflection->hasProperty($name)) {
  128.             $targetObject $this->valueHolder7f27b;
  129.             unset($targetObject->$name);
  130.             return;
  131.         }
  132.         $targetObject $this->valueHolder7f27b;
  133.         $accessor = function () use ($targetObject$name) {
  134.             unset($targetObject->$name);
  135.             return;
  136.         };
  137.         $backtrace debug_backtrace(true2);
  138.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  139.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  140.         $accessor();
  141.     }
  142.     public function __clone()
  143.     {
  144.         $this->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'__clone', array(), $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  145.         $this->valueHolder7f27b = clone $this->valueHolder7f27b;
  146.     }
  147.     public function __sleep()
  148.     {
  149.         $this->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'__sleep', array(), $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  150.         return array('valueHolder7f27b');
  151.     }
  152.     public function __wakeup()
  153.     {
  154.         \Closure::bind(function (\Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedCookieResponseListener $instance) {
  155.             unset($instance->trustedTokenStorage$instance->trustedTokenLifetime$instance->cookieName$instance->cookieSecure$instance->cookieSameSite$instance->cookiePath$instance->cookieDomain);
  156.         }, $this'Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Trusted\\TrustedCookieResponseListener')->__invoke($this);
  157.     }
  158.     public function setProxyInitializer(\Closure $initializer null) : void
  159.     {
  160.         $this->initializer4e38e $initializer;
  161.     }
  162.     public function getProxyInitializer() : ?\Closure
  163.     {
  164.         return $this->initializer4e38e;
  165.     }
  166.     public function initializeProxy() : bool
  167.     {
  168.         return $this->initializer4e38e && ($this->initializer4e38e->__invoke($valueHolder7f27b$this'initializeProxy', array(), $this->initializer4e38e) || 1) && $this->valueHolder7f27b $valueHolder7f27b;
  169.     }
  170.     public function isProxyInitialized() : bool
  171.     {
  172.         return null !== $this->valueHolder7f27b;
  173.     }
  174.     public function getWrappedValueHolderValue()
  175.     {
  176.         return $this->valueHolder7f27b;
  177.     }
  178. }