/** * Autogenerated Proxy Method */ public function __wakeup() { $this->Flow_Aop_Proxy_buildMethodsAndAdvicesArray(); if (property_exists($this, 'Flow_Persistence_RelatedEntities') && is_array($this->Flow_Persistence_RelatedEntities)) { $persistenceManager = \TYPO3\Flow\Core\Bootstrap::$staticObjectManager->get('TYPO3\\Flow\\Persistence\\PersistenceManagerInterface'); foreach ($this->Flow_Persistence_RelatedEntities as $entityInformation) { if ($entityInformation['entityType'] === 'TYPO3\\Flow\\Resource\\ResourcePointer') { continue; } $entity = $persistenceManager->getObjectByIdentifier($entityInformation['identifier'], $entityInformation['entityType'], TRUE); if (isset($entityInformation['entityPath'])) { $this->{$entityInformation}['propertyName'] = \TYPO3\Flow\Utility\Arrays::setValueByPath($this->{$entityInformation}['propertyName'], $entityInformation['entityPath'], $entity); } else { $this->{$entityInformation}['propertyName'] = $entity; } } unset($this->Flow_Persistence_RelatedEntities); } $this->Flow_Proxy_injectProperties(); $result = NULL; if (method_exists(get_parent_class($this), '__wakeup') && is_callable('parent::__wakeup')) { parent::__wakeup(); } if (get_class($this) === 'TYPO3\\Flow\\Session\\Session') { $this->initializeObject(2); } if (get_class($this) === 'TYPO3\\Flow\\Session\\Session') { \TYPO3\Flow\Core\Bootstrap::$staticObjectManager->registerShutdownObject($this, 'shutdownObject'); } return $result; }