Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Class: EmailUtils

Namespace: utils

Methods

Válida se é um e-mail válido, se for retorna o próprio email, se não retorna vázio.

@param string $email Email para ser válido

@return string se válido retorna o próprio e-mail, se não vázio

public static function isEmail(string $email): string

Parameters:

  • $email (string)