src/Symbb/Core/UserBundle/GravatarApi.php
public function getUrl($email, $size = null, $rating = null, $default = null, $secure = null)
    {
        $hash = md5(strtolower(trim($email)));

        return $this->getUrlForHash($hash, $size, $rating, $default, $secure);
    }
public function getUrl($email, $size = null, $rating = null, $default = null, $secure = null)
    {
        $hash = md5(strtolower(trim($email)));

        return $this->getUrlForHash($hash, $size, $rating, $default, $secure);
    }
public function getUrl ( $ email , $ size = null , $ rating = null , $ default = null , $ secure = null ) { $ hash = md5 ( strtolower ( trim ( $ email ) ) ) ; return $ this -> getUrlForHash ( $ hash , $ size , $ rating , $ default , $ secure ) ; }
Returns a url for a gravatar.

@param  string $email
@param  integer $size
@param  string $rating
@param  string $default
@param  Boolean $secure
@return string
Returns a url for a gravatar .