/** * Autogenerated Proxy Method * @param string $actionName Name of the action to forward to * @param string $controllerName Unqualified object name of the controller to forward to. If not specified, the current controller is used. * @param string $packageKey Key of the package containing the controller to forward to. May also contain the sub package, concatenated with backslash (Vendor.Foo\Bar\Baz). If not specified, the current package is assumed. * @param array $arguments Arguments to pass to the target action * @return void * @throws \TYPO3\Flow\Mvc\Exception\ForwardException */ protected function forward($actionName, $controllerName = NULL, $packageKey = NULL, array $arguments = array()) { // FIXME this can be removed again once Doctrine is fixed (see fixMethodsAndAdvicesArrayForDoctrineProxiesCode()) $this->Flow_Aop_Proxy_fixMethodsAndAdvicesArrayForDoctrineProxies(); if (isset($this->Flow_Aop_Proxy_methodIsInAdviceMode['forward'])) { $result = parent::forward($actionName, $controllerName, $packageKey, $arguments); } else { $this->Flow_Aop_Proxy_methodIsInAdviceMode['forward'] = TRUE; try { $methodArguments = array(); $methodArguments['actionName'] = $actionName; $methodArguments['controllerName'] = $controllerName; $methodArguments['packageKey'] = $packageKey; $methodArguments['arguments'] = $arguments; $adviceChains = $this->Flow_Aop_Proxy_getAdviceChains('forward'); $adviceChain = $adviceChains['TYPO3\\Flow\\Aop\\Advice\\AroundAdvice']; $adviceChain->rewind(); $joinPoint = new \TYPO3\Flow\Aop\JoinPoint($this, 'SKL\\Post\\Controller\\CategoryController', 'forward', $methodArguments, $adviceChain); $result = $adviceChain->proceed($joinPoint); $methodArguments = $joinPoint->getMethodArguments(); } catch (\Exception $e) { unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['forward']); throw $e; } unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['forward']); } return $result; }