public function buildAvatar($size = 150)
    {
        $gravatar = new Gravatar();
        $gravatar->setAvatarSize($size);
        $gravatar->enableSecureImages();

        return $gravatar->buildGravatarURL($this->getUserEmail());
    }
public function buildAvatar($size = 150)
    {
        $gravatar = new Gravatar();
        $gravatar->setAvatarSize($size);
        $gravatar->enableSecureImages();

        return $gravatar->buildGravatarURL($this->getUserEmail());
    }
public function buildAvatar ( $ size = 150 ) { $ gravatar = new Gravatar ( ) ; $ gravatar -> setAvatarSize ( $ size ) ; $ gravatar -> enableSecureImages ( ) ; return $ gravatar -> buildGravatarURL ( $ this -> getUserEmail ( ) ) ; }
Get the img path for the gravatar of the current user.

@param int $size

@return string
Get the img path for the gravatar of the current user .