public function setEmail($email)
    {
        if (!is_string($email)) {
            $email = strval($email);
        }

        $this->email = $email;
    }
public function setEmail($email)
    {
        if (!is_string($email)) {
            $email = strval($email);
        }

        $this->email = $email;
    }
public function setEmail ( $ email ) { if ( ! is_string ( $ email ) ) { $ email = strval ( $ email ) ; } $ this -> email = $ email ; }
Sets the email address.

@param string $email email address

@return void
Sets the email address .