public function getUrl($sEmail = null)
    {
        if (null !== $sEmail) {
            $this->setEmail($sEmail);
        }

        return static::URL
            .'avatar/'
            .$this->getHash($this->getEmail())
            .$this->getParams();
    }
public function getUrl($sEmail = null)
    {
        if (null !== $sEmail) {
            $this->setEmail($sEmail);
        }

        return static::URL
            .'avatar/'
            .$this->getHash($this->getEmail())
            .$this->getParams();
    }
public function getUrl ( $ sEmail = null ) { if ( null !== $ sEmail ) { $ this -> setEmail ( $ sEmail ) ; } return static :: URL . 'avatar/' . $ this -> getHash ( $ this -> getEmail ( ) ) . $ this -> getParams ( ) ; }
Build the avatar URL based on the provided email address.

@param string $sEmail The email to get the gravatar for.
@return string The URL to the gravatar.
Build the avatar URL based on the provided email address .