public function scrambleTranslatedStrings(JoinPointInterface $joinPoint) { $translatedString = $joinPoint->getAdviceChain()->proceed($joinPoint); return str_repeat('#', UnicodeFunctions::strlen($translatedString)); }