src/Mpociot/Reflection/DocBlock/Tag/AuthorTag.php
public function setAuthorEmail($authorEmail)
    {
        $this->authorEmail
            = preg_match('/^' . self::REGEX_AUTHOR_EMAIL . '$/u', $authorEmail)
            ? $authorEmail : '';

        $this->content = null;
        return $this;
    }
public function setAuthorEmail($authorEmail)
    {
        $this->authorEmail
            = preg_match('/^' . self::REGEX_AUTHOR_EMAIL . '$/u', $authorEmail)
            ? $authorEmail : '';

        $this->content = null;
        return $this;
    }
public function setAuthorEmail ( $ authorEmail ) { $ this -> authorEmail = preg_match ( '/^' . self :: REGEX_AUTHOR_EMAIL . '$/u' , $ authorEmail ) ? $ authorEmail : '' ; $ this -> content = null ; return $ this ; }
Sets the author's email.

@param string $authorEmail The new author email.
An invalid value will set an empty string.

@return $this
Sets the author s email .