/** * @FLOW3\Around("method(public TYPO3\FLOW3\Tests\Functional\Aop\Fixtures\TargetClass01->greet())") * @param \TYPO3\FLOW3\Aop\JoinPointInterface $joinPoint * @return string */ public function changeNameArgumentAdvice(\TYPO3\FLOW3\Aop\JoinPointInterface $joinPoint) { if ($joinPoint->getMethodArgument('name') === 'Andi') { $joinPoint->setMethodArgument('name', 'Robert'); } return $joinPoint->getAdviceChain()->proceed($joinPoint); }