protected function getClassName(JoinPointInterface $joinPoint) { $className = $joinPoint->getClassName(); if (strpos($className, \Neos\Flow\Session::class) === 0) { $className = trim(substr($className, strlen(\Neos\Flow\Session::class)), '\\'); } return $className; }