/** * Return the obfuscated email. * * @return null|string */ public function obfuscated() { if (!($email = $this->object->getValue())) { return null; } return $this->html->obfuscate($email); }
/** * Obfuscate a string to prevent spam-bots from sniffing it. * * @param string $value * @return string * @static */ public static function obfuscate($value) { return \Collective\Html\HtmlBuilder::obfuscate($value); }