public function setEmail(string $email = null) : CNabuDataObject
    {
        parent::setEmail($email);
        return parent::setEmailHash(is_string($email) ? self::encodeEmail($email) : null);
    }
public function setEmail(string $email = null) : CNabuDataObject
    {
        parent::setEmail($email);
        return parent::setEmailHash(is_string($email) ? self::encodeEmail($email) : null);
    }
public function setEmail ( string $ email = null ) : CNabuDataObject { parent :: setEmail ( $ email ) ; return parent :: setEmailHash ( is_string ( $ email ) ? self :: encodeEmail ( $ email ) : null ) ; }
Sets the Email and encoding it into a nabu-3 hashing algorithm.
@param string|null $email Email string to be encoded and setted.
@return CNabuDataObject Returns the self instance to grant cascade setters.
Sets the Email and encoding it into a nabu - 3 hashing algorithm .