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