var/cache/dev/ContainerLUlLAS7/TrustedCookieResponseListener_c7f9b85.php line 25

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