Neos\Neos\Aspects\ScrambleTranslationAspect::scrambleTranslatedStrings PHP Méthode

scrambleTranslatedStrings() public méthode

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