/**
  * Autogenerated Proxy Method
  * @return integer The number of outdated entries removed
  */
 public function collectGarbage()
 {
     // FIXME this can be removed again once Doctrine is fixed (see fixMethodsAndAdvicesArrayForDoctrineProxiesCode())
     $this->Flow_Aop_Proxy_fixMethodsAndAdvicesArrayForDoctrineProxies();
     if (isset($this->Flow_Aop_Proxy_methodIsInAdviceMode['collectGarbage'])) {
         $result = parent::collectGarbage();
     } else {
         $this->Flow_Aop_Proxy_methodIsInAdviceMode['collectGarbage'] = TRUE;
         try {
             $methodArguments = array();
             $joinPoint = new \TYPO3\Flow\Aop\JoinPoint($this, 'TYPO3\\Flow\\Session\\Session', 'collectGarbage', $methodArguments);
             $result = $this->Flow_Aop_Proxy_invokeJoinPoint($joinPoint);
             $methodArguments = $joinPoint->getMethodArguments();
             if (isset($this->Flow_Aop_Proxy_targetMethodsAndGroupedAdvices['collectGarbage']['TYPO3\\Flow\\Aop\\Advice\\AfterReturningAdvice'])) {
                 $advices = $this->Flow_Aop_Proxy_targetMethodsAndGroupedAdvices['collectGarbage']['TYPO3\\Flow\\Aop\\Advice\\AfterReturningAdvice'];
                 $joinPoint = new \TYPO3\Flow\Aop\JoinPoint($this, 'TYPO3\\Flow\\Session\\Session', 'collectGarbage', $methodArguments, NULL, $result);
                 foreach ($advices as $advice) {
                     $advice->invoke($joinPoint);
                 }
                 $methodArguments = $joinPoint->getMethodArguments();
             }
         } catch (\Exception $e) {
             unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['collectGarbage']);
             throw $e;
         }
         unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['collectGarbage']);
     }
     return $result;
 }
 /**
  * Autogenerated Proxy Method
  */
 public function __construct()
 {
     if (get_class($this) === 'TYPO3\\Flow\\Persistence\\Generic\\Session') {
         \TYPO3\Flow\Core\Bootstrap::$staticObjectManager->setInstance('TYPO3\\Flow\\Persistence\\Generic\\Session', $this);
     }
     parent::__construct();
     if ('TYPO3\\Flow\\Persistence\\Generic\\Session' === get_class($this)) {
         $this->Flow_Proxy_injectProperties();
     }
 }