Neos\Neos\Aspects\ScrambleTranslationAspect::scrambleTranslatedStrings PHP Method

scrambleTranslatedStrings() public method

public scrambleTranslatedStrings ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : string
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
return string A scrambled translation string
    public function scrambleTranslatedStrings(JoinPointInterface $joinPoint)
    {
        $translatedString = $joinPoint->getAdviceChain()->proceed($joinPoint);
        return str_repeat('#', UnicodeFunctions::strlen($translatedString));
    }
ScrambleTranslationAspect