var/cache/website/dev/ContainerWwvr7NM/Session_21c865b.php line 103

Open in your IDE?
  1. <?php
  2. namespace ContainerWwvr7NM;
  3. include_once \dirname(__DIR__5).'/vendor/phpcr/phpcr/src/PHPCR/SessionInterface.php';
  4. include_once \dirname(__DIR__5).'/vendor/sulu/sulu/src/Sulu/Bundle/DocumentManagerBundle/Session/Session.php';
  5. class Session_21c865b extends \Sulu\Bundle\DocumentManagerBundle\Session\Session implements \ProxyManager\Proxy\VirtualProxyInterface
  6. {
  7.     /**
  8.      * @var \Sulu\Bundle\DocumentManagerBundle\Session\Session|null wrapped object, if the proxy is initialized
  9.      */
  10.     private $valueHolder31a9a null;
  11.     /**
  12.      * @var \Closure|null initializer responsible for generating the wrapped object
  13.      */
  14.     private $initializer29083 null;
  15.     /**
  16.      * @var bool[] map of public properties of the parent class
  17.      */
  18.     private static $publicProperties2ac0d = [
  19.         
  20.     ];
  21.     public function getRepository()
  22.     {
  23.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getRepository', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  24.         return $this->valueHolder31a9a->getRepository();
  25.     }
  26.     public function getUserID()
  27.     {
  28.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getUserID', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  29.         return $this->valueHolder31a9a->getUserID();
  30.     }
  31.     public function getAttributeNames()
  32.     {
  33.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getAttributeNames', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  34.         return $this->valueHolder31a9a->getAttributeNames();
  35.     }
  36.     public function getAttribute($name)
  37.     {
  38.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getAttribute', array('name' => $name), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  39.         return $this->valueHolder31a9a->getAttribute($name);
  40.     }
  41.     public function getWorkspace()
  42.     {
  43.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getWorkspace', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  44.         return $this->valueHolder31a9a->getWorkspace();
  45.     }
  46.     public function getRootNode()
  47.     {
  48.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getRootNode', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  49.         return $this->valueHolder31a9a->getRootNode();
  50.     }
  51.     public function impersonate(\PHPCR\CredentialsInterface $credentials)
  52.     {
  53.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'impersonate', array('credentials' => $credentials), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  54.         return $this->valueHolder31a9a->impersonate($credentials);
  55.     }
  56.     public function getNodeByIdentifier($id)
  57.     {
  58.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getNodeByIdentifier', array('id' => $id), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  59.         return $this->valueHolder31a9a->getNodeByIdentifier($id);
  60.     }
  61.     public function getNodesByIdentifier($ids)
  62.     {
  63.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getNodesByIdentifier', array('ids' => $ids), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  64.         return $this->valueHolder31a9a->getNodesByIdentifier($ids);
  65.     }
  66.     public function getItem($absPath)
  67.     {
  68.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getItem', array('absPath' => $absPath), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  69.         return $this->valueHolder31a9a->getItem($absPath);
  70.     }
  71.     public function getNode($absPath$depthHint = -1)
  72.     {
  73.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getNode', array('absPath' => $absPath'depthHint' => $depthHint), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  74.         return $this->valueHolder31a9a->getNode($absPath$depthHint);
  75.     }
  76.     public function getNodes($absPaths)
  77.     {
  78.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getNodes', array('absPaths' => $absPaths), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  79.         return $this->valueHolder31a9a->getNodes($absPaths);
  80.     }
  81.     public function getProperty($absPath)
  82.     {
  83.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getProperty', array('absPath' => $absPath), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  84.         return $this->valueHolder31a9a->getProperty($absPath);
  85.     }
  86.     public function getProperties($absPaths)
  87.     {
  88.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getProperties', array('absPaths' => $absPaths), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  89.         return $this->valueHolder31a9a->getProperties($absPaths);
  90.     }
  91.     public function itemExists($absPath)
  92.     {
  93.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'itemExists', array('absPath' => $absPath), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  94.         return $this->valueHolder31a9a->itemExists($absPath);
  95.     }
  96.     public function nodeExists($absPath)
  97.     {
  98.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'nodeExists', array('absPath' => $absPath), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  99.         return $this->valueHolder31a9a->nodeExists($absPath);
  100.     }
  101.     public function propertyExists($absPath)
  102.     {
  103.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'propertyExists', array('absPath' => $absPath), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  104.         return $this->valueHolder31a9a->propertyExists($absPath);
  105.     }
  106.     public function move($srcAbsPath$destAbsPath)
  107.     {
  108.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'move', array('srcAbsPath' => $srcAbsPath'destAbsPath' => $destAbsPath), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  109.         return $this->valueHolder31a9a->move($srcAbsPath$destAbsPath);
  110.     }
  111.     public function removeItem($absPath)
  112.     {
  113.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'removeItem', array('absPath' => $absPath), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  114.         return $this->valueHolder31a9a->removeItem($absPath);
  115.     }
  116.     public function save()
  117.     {
  118.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'save', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  119.         return $this->valueHolder31a9a->save();
  120.     }
  121.     public function refresh($keepChanges)
  122.     {
  123.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'refresh', array('keepChanges' => $keepChanges), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  124.         return $this->valueHolder31a9a->refresh($keepChanges);
  125.     }
  126.     public function hasPendingChanges()
  127.     {
  128.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'hasPendingChanges', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  129.         return $this->valueHolder31a9a->hasPendingChanges();
  130.     }
  131.     public function hasPermission($absPath$actions)
  132.     {
  133.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'hasPermission', array('absPath' => $absPath'actions' => $actions), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  134.         return $this->valueHolder31a9a->hasPermission($absPath$actions);
  135.     }
  136.     public function checkPermission($absPath$actions)
  137.     {
  138.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'checkPermission', array('absPath' => $absPath'actions' => $actions), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  139.         return $this->valueHolder31a9a->checkPermission($absPath$actions);
  140.     }
  141.     public function hasCapability($methodName$target, array $arguments)
  142.     {
  143.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'hasCapability', array('methodName' => $methodName'target' => $target'arguments' => $arguments), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  144.         return $this->valueHolder31a9a->hasCapability($methodName$target$arguments);
  145.     }
  146.     public function importXML($parentAbsPath$uri$uuidBehavior)
  147.     {
  148.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'importXML', array('parentAbsPath' => $parentAbsPath'uri' => $uri'uuidBehavior' => $uuidBehavior), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  149.         return $this->valueHolder31a9a->importXML($parentAbsPath$uri$uuidBehavior);
  150.     }
  151.     public function exportSystemView($absPath$stream$skipBinary$noRecurse)
  152.     {
  153.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'exportSystemView', array('absPath' => $absPath'stream' => $stream'skipBinary' => $skipBinary'noRecurse' => $noRecurse), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  154.         return $this->valueHolder31a9a->exportSystemView($absPath$stream$skipBinary$noRecurse);
  155.     }
  156.     public function exportDocumentView($absPath$stream$skipBinary$noRecurse)
  157.     {
  158.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'exportDocumentView', array('absPath' => $absPath'stream' => $stream'skipBinary' => $skipBinary'noRecurse' => $noRecurse), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  159.         return $this->valueHolder31a9a->exportDocumentView($absPath$stream$skipBinary$noRecurse);
  160.     }
  161.     public function setNamespacePrefix($prefix$uri)
  162.     {
  163.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'setNamespacePrefix', array('prefix' => $prefix'uri' => $uri), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  164.         return $this->valueHolder31a9a->setNamespacePrefix($prefix$uri);
  165.     }
  166.     public function getNamespacePrefixes()
  167.     {
  168.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getNamespacePrefixes', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  169.         return $this->valueHolder31a9a->getNamespacePrefixes();
  170.     }
  171.     public function getNamespaceURI($prefix)
  172.     {
  173.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getNamespaceURI', array('prefix' => $prefix), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  174.         return $this->valueHolder31a9a->getNamespaceURI($prefix);
  175.     }
  176.     public function getNamespacePrefix($uri)
  177.     {
  178.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getNamespacePrefix', array('uri' => $uri), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  179.         return $this->valueHolder31a9a->getNamespacePrefix($uri);
  180.     }
  181.     public function logout()
  182.     {
  183.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'logout', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  184.         return $this->valueHolder31a9a->logout();
  185.     }
  186.     public function isLive()
  187.     {
  188.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'isLive', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  189.         return $this->valueHolder31a9a->isLive();
  190.     }
  191.     public function getAccessControlManager()
  192.     {
  193.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getAccessControlManager', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  194.         return $this->valueHolder31a9a->getAccessControlManager();
  195.     }
  196.     public function getRetentionManager()
  197.     {
  198.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'getRetentionManager', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  199.         return $this->valueHolder31a9a->getRetentionManager();
  200.     }
  201.     /**
  202.      * Constructor for lazy initialization
  203.      *
  204.      * @param \Closure|null $initializer
  205.      */
  206.     public static function staticProxyConstructor($initializer)
  207.     {
  208.         static $reflection;
  209.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  210.         $instance   $reflection->newInstanceWithoutConstructor();
  211.         \Closure::bind(function (\Sulu\Bundle\DocumentManagerBundle\Session\Session $instance) {
  212.             unset($instance->inner);
  213.         }, $instance'Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session')->__invoke($instance);
  214.         $instance->initializer29083 $initializer;
  215.         return $instance;
  216.     }
  217.     public function __construct(\PHPCR\SessionInterface $inner)
  218.     {
  219.         static $reflection;
  220.         if (! $this->valueHolder31a9a) {
  221.             $reflection $reflection ?? new \ReflectionClass('Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session');
  222.             $this->valueHolder31a9a $reflection->newInstanceWithoutConstructor();
  223.         \Closure::bind(function (\Sulu\Bundle\DocumentManagerBundle\Session\Session $instance) {
  224.             unset($instance->inner);
  225.         }, $this'Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session')->__invoke($this);
  226.         }
  227.         $this->valueHolder31a9a->__construct($inner);
  228.     }
  229.     public function & __get($name)
  230.     {
  231.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'__get', ['name' => $name], $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  232.         if (isset(self::$publicProperties2ac0d[$name])) {
  233.             return $this->valueHolder31a9a->$name;
  234.         }
  235.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session');
  236.         if (! $realInstanceReflection->hasProperty($name)) {
  237.             $targetObject $this->valueHolder31a9a;
  238.             $backtrace debug_backtrace(false1);
  239.             trigger_error(
  240.                 sprintf(
  241.                     'Undefined property: %s::$%s in %s on line %s',
  242.                     $realInstanceReflection->getName(),
  243.                     $name,
  244.                     $backtrace[0]['file'],
  245.                     $backtrace[0]['line']
  246.                 ),
  247.                 \E_USER_NOTICE
  248.             );
  249.             return $targetObject->$name;
  250.         }
  251.         $targetObject $this->valueHolder31a9a;
  252.         $accessor = function & () use ($targetObject$name) {
  253.             return $targetObject->$name;
  254.         };
  255.         $backtrace debug_backtrace(true2);
  256.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  257.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  258.         $returnValue = & $accessor();
  259.         return $returnValue;
  260.     }
  261.     public function __set($name$value)
  262.     {
  263.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'__set', array('name' => $name'value' => $value), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  264.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session');
  265.         if (! $realInstanceReflection->hasProperty($name)) {
  266.             $targetObject $this->valueHolder31a9a;
  267.             $targetObject->$name $value;
  268.             return $targetObject->$name;
  269.         }
  270.         $targetObject $this->valueHolder31a9a;
  271.         $accessor = function & () use ($targetObject$name$value) {
  272.             $targetObject->$name $value;
  273.             return $targetObject->$name;
  274.         };
  275.         $backtrace debug_backtrace(true2);
  276.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  277.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  278.         $returnValue = & $accessor();
  279.         return $returnValue;
  280.     }
  281.     public function __isset($name)
  282.     {
  283.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'__isset', array('name' => $name), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  284.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session');
  285.         if (! $realInstanceReflection->hasProperty($name)) {
  286.             $targetObject $this->valueHolder31a9a;
  287.             return isset($targetObject->$name);
  288.         }
  289.         $targetObject $this->valueHolder31a9a;
  290.         $accessor = function () use ($targetObject$name) {
  291.             return isset($targetObject->$name);
  292.         };
  293.         $backtrace debug_backtrace(true2);
  294.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  295.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  296.         $returnValue $accessor();
  297.         return $returnValue;
  298.     }
  299.     public function __unset($name)
  300.     {
  301.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'__unset', array('name' => $name), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  302.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session');
  303.         if (! $realInstanceReflection->hasProperty($name)) {
  304.             $targetObject $this->valueHolder31a9a;
  305.             unset($targetObject->$name);
  306.             return;
  307.         }
  308.         $targetObject $this->valueHolder31a9a;
  309.         $accessor = function () use ($targetObject$name) {
  310.             unset($targetObject->$name);
  311.             return;
  312.         };
  313.         $backtrace debug_backtrace(true2);
  314.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  315.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  316.         $accessor();
  317.     }
  318.     public function __clone()
  319.     {
  320.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'__clone', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  321.         $this->valueHolder31a9a = clone $this->valueHolder31a9a;
  322.     }
  323.     public function __sleep()
  324.     {
  325.         $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'__sleep', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  326.         return array('valueHolder31a9a');
  327.     }
  328.     public function __wakeup()
  329.     {
  330.         \Closure::bind(function (\Sulu\Bundle\DocumentManagerBundle\Session\Session $instance) {
  331.             unset($instance->inner);
  332.         }, $this'Sulu\\Bundle\\DocumentManagerBundle\\Session\\Session')->__invoke($this);
  333.     }
  334.     public function setProxyInitializer(\Closure $initializer null) : void
  335.     {
  336.         $this->initializer29083 $initializer;
  337.     }
  338.     public function getProxyInitializer() : ?\Closure
  339.     {
  340.         return $this->initializer29083;
  341.     }
  342.     public function initializeProxy() : bool
  343.     {
  344.         return $this->initializer29083 && ($this->initializer29083->__invoke($valueHolder31a9a$this'initializeProxy', array(), $this->initializer29083) || 1) && $this->valueHolder31a9a $valueHolder31a9a;
  345.     }
  346.     public function isProxyInitialized() : bool
  347.     {
  348.         return null !== $this->valueHolder31a9a;
  349.     }
  350.     public function getWrappedValueHolderValue()
  351.     {
  352.         return $this->valueHolder31a9a;
  353.     }
  354. }
  355. if (!\class_exists('Session_21c865b'false)) {
  356.     \class_alias(__NAMESPACE__.'\\Session_21c865b''Session_21c865b'false);
  357. }