public function get($email, $hash = true)
    {
        $url  = $this->isSecured() ? static::SECURE_URL : static::BASE_URL;
        $url .= empty($email)
            ? str_repeat('0', 32)
            : ($hash ? static::hashEmail($email) : $email);

        $params = $this->getParams($email);

        return $url.'?'.http_build_query($params);
    }
public function get($email, $hash = true)
    {
        $url  = $this->isSecured() ? static::SECURE_URL : static::BASE_URL;
        $url .= empty($email)
            ? str_repeat('0', 32)
            : ($hash ? static::hashEmail($email) : $email);

        $params = $this->getParams($email);

        return $url.'?'.http_build_query($params);
    }
public function get ( $ email , $ hash = true ) { $ url = $ this -> isSecured ( ) ? static :: SECURE_URL : static :: BASE_URL ; $ url .= empty ( $ email ) ? str_repeat ( '0' , 32 ) : ( $ hash ? static :: hashEmail ( $ email ) : $ email ) ; $ params = $ this -> getParams ( $ email ) ; return $ url . '?' . http_build_query ( $ params ) ; }
Get the avatar URL based on the provided email address.

@param  string  $email
@param  bool    $hash

@return string
Get the avatar URL based on the provided email address .