public static function gavatar(string $email, int $size = 100) : string
    {
        $hash = md5(strtolower(trim($email)));

        return "https://www.gravatar.com/avatar/{$hash}.jpg?s={$size}";
    }
public static function gavatar(string $email, int $size = 100) : string
    {
        $hash = md5(strtolower(trim($email)));

        return "https://www.gravatar.com/avatar/{$hash}.jpg?s={$size}";
    }
public static function gavatar ( string $ email , int $ size = 100 ) : string { $ hash = md5 ( strtolower ( trim ( $ email ) ) ) ; return "https://www.gravatar.com/avatar/{$hash}.jpg?s={$size}" ; }
Return the gavatar for the given email.

@author Erik Campobadal Fores <soc@erik.cat>
@copyright 2017 erik.cat
@param string $email
@param int|integer $size
@return string
Return the gavatar for the given email .