Skip to content

Commit

Permalink
added obfuscate to email
Browse files Browse the repository at this point in the history
  • Loading branch information
tombroucke committed Jul 13, 2023
1 parent cd10dab commit 1d8d502
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
*/
class Email extends Field
{
public function obfuscate() : string
{
return antispambot($this->value);
}
}

0 comments on commit 1d8d502

Please sign in to comment.