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

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